Compare commits
No commits in common. "main" and "dev" have entirely different histories.
@ -164,10 +164,6 @@ jobs:
|
||||
number: 80
|
||||
EOF
|
||||
|
||||
kubectl delete deployment "${REPO_NAME}" -n gitea-deployment --ignore-not-found
|
||||
kubectl delete service "${REPO_NAME}" -n gitea-deployment --ignore-not-found
|
||||
kubectl delete ingress "${REPO_NAME}-ingress" -n gitea-deployment --ignore-not-found
|
||||
|
||||
# Display the manifest for debugging
|
||||
echo "--- Generated manifest: ---"
|
||||
cat k8s-manifests.yaml
|
||||
|
||||
@ -9,6 +9,5 @@ RUN npm run build
|
||||
# Production stage
|
||||
FROM nginx:alpine
|
||||
COPY --from=build /app/build /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
21
LICENSE
21
LICENSE
@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) [Jahr] [Dein Name]
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
19
nginx.conf
19
nginx.conf
@ -1,19 +0,0 @@
|
||||
# nginx.conf
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
|
||||
# Optional: serve static files directly
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico|woff2?|ttf|eot|otf|ttc|json)$ {
|
||||
try_files $uri =404;
|
||||
access_log off;
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
}
|
||||
}
|
||||
@ -2,130 +2,65 @@
|
||||
"food": [
|
||||
{
|
||||
"id": "f1",
|
||||
"name": "Henderl",
|
||||
"basePrice": 10,
|
||||
"color": "#ff6666"
|
||||
"name": "Kotlettsemmel / Wurst",
|
||||
"basePrice": 5,
|
||||
"color": "#FFEBCD"
|
||||
},
|
||||
{
|
||||
"id": "f2",
|
||||
"name": "Kotelett",
|
||||
"basePrice": 10,
|
||||
"color": "#ff6666"
|
||||
"name": "Pommes",
|
||||
"basePrice": 2.50,
|
||||
"color": "#FFD700"
|
||||
},
|
||||
{
|
||||
"id": "f3",
|
||||
"name": "Bratwurst",
|
||||
"basePrice": 5.5,
|
||||
"color": "#ffffff"
|
||||
},
|
||||
{
|
||||
"id": "f4",
|
||||
"name": "Schnitzelsemmel",
|
||||
"basePrice": 5.5,
|
||||
"color": "#ffffff"
|
||||
"name": "Semmel (extra)",
|
||||
"basePrice": 0.50,
|
||||
"color": "#FFCCCB"
|
||||
},
|
||||
{
|
||||
"id": "f5",
|
||||
"name": "Gemüselaibchensemmel",
|
||||
"basePrice": 5.5,
|
||||
"color": "#ffffff"
|
||||
},
|
||||
{
|
||||
"id": "f6",
|
||||
"name": "Pommes",
|
||||
"basePrice": 3.0,
|
||||
"color": "#fff68f"
|
||||
},
|
||||
{
|
||||
"id": "f7",
|
||||
"name": "Gebäck",
|
||||
"basePrice": 0.5
|
||||
"name": "Mehlspeise",
|
||||
"basePrice": 2.50,
|
||||
"color": "#FFE4E1"
|
||||
}
|
||||
],
|
||||
"drinks": [
|
||||
{
|
||||
"id": "d1",
|
||||
"name": "Bier / Radler 1/2",
|
||||
"basePrice": 4.5,
|
||||
"color": "#ff8866"
|
||||
"name": "Bier / Radler 0.5",
|
||||
"basePrice": 4.0,
|
||||
"color": "#F0E68C"
|
||||
},
|
||||
{
|
||||
"id": "d2",
|
||||
"name": "Limo gespr. 1/2",
|
||||
"basePrice": 4.5,
|
||||
"color": "#ff8866"
|
||||
"name": "Bier / Radler 0.3",
|
||||
"basePrice": 3.50,
|
||||
"color": "#D2B48C"
|
||||
},
|
||||
{
|
||||
"id": "d3",
|
||||
"name": "Limo Leitung 1/2",
|
||||
"basePrice": 4,
|
||||
"color": "#90d990"
|
||||
},
|
||||
{
|
||||
"id": "d8",
|
||||
"name": "Limo Flasche",
|
||||
"basePrice": 2.8,
|
||||
"color": "#6a8acd"
|
||||
},
|
||||
{
|
||||
"id": "d15",
|
||||
"name": "Wein 1/8",
|
||||
"basePrice": 2,
|
||||
"color": "#90d990"
|
||||
},
|
||||
{
|
||||
"id": "d7",
|
||||
"name": "Wein 1/4",
|
||||
"basePrice": 4,
|
||||
"color": "#90d990"
|
||||
"name": "Limo",
|
||||
"basePrice": 2.50,
|
||||
"color": "#FFDAB9"
|
||||
},
|
||||
{
|
||||
"id": "d4",
|
||||
"name": "Gespritzter 1/4",
|
||||
"basePrice": 2.8,
|
||||
"color": "#6a8acd"
|
||||
},
|
||||
{
|
||||
"id": "d6",
|
||||
"name": "Gespritzer 1/2",
|
||||
"basePrice": 5.6,
|
||||
"color": "#6a8acd"
|
||||
"name": "G'spritzter",
|
||||
"basePrice": 2.50,
|
||||
"color": "#E0FFFF"
|
||||
},
|
||||
{
|
||||
"id": "d5",
|
||||
"name": "Sommerspritzer 1/2",
|
||||
"basePrice": 4,
|
||||
"color": "#90d990"
|
||||
"name": "Sommerspritzer",
|
||||
"basePrice": 3.00,
|
||||
"color": "#FFDAB9"
|
||||
},
|
||||
{
|
||||
"id": "d10",
|
||||
"name": "Alm/Cola/Weiß/Rot 1/4",
|
||||
"basePrice": 3.2,
|
||||
"color": "#d0e8ff"
|
||||
},
|
||||
{
|
||||
"id": "d11",
|
||||
"name": "Alm/Cola/Weiß/Rot 1/2",
|
||||
"basePrice": 6.4,
|
||||
"color": "#d0e8ff"
|
||||
},
|
||||
{
|
||||
"id": "d12",
|
||||
"name": "Mineral 1/3",
|
||||
"id": "d6",
|
||||
"name": "1/8 Wein",
|
||||
"basePrice": 2,
|
||||
"color": "#90d990"
|
||||
},
|
||||
{
|
||||
"id": "d13",
|
||||
"name": "Mineral 1l",
|
||||
"basePrice": 4.5,
|
||||
"color": "#ff8866"
|
||||
},
|
||||
{
|
||||
"id": "d14",
|
||||
"name": "Wein 1l",
|
||||
"basePrice": 14,
|
||||
"color": "#ff99cc"
|
||||
"color": "#FFE4E1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user