Compare commits
No commits in common. "main" and "dev" have entirely different histories.
@ -163,11 +163,7 @@ jobs:
|
|||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
EOF
|
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
|
# Display the manifest for debugging
|
||||||
echo "--- Generated manifest: ---"
|
echo "--- Generated manifest: ---"
|
||||||
cat k8s-manifests.yaml
|
cat k8s-manifests.yaml
|
||||||
|
|||||||
@ -9,6 +9,5 @@ RUN npm run build
|
|||||||
# Production stage
|
# Production stage
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=build /app/build /usr/share/nginx/html
|
COPY --from=build /app/build /usr/share/nginx/html
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
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": [
|
"food": [
|
||||||
{
|
{
|
||||||
"id": "f1",
|
"id": "f1",
|
||||||
"name": "Henderl",
|
"name": "Kotlettsemmel / Wurst",
|
||||||
"basePrice": 10,
|
"basePrice": 5,
|
||||||
"color": "#ff6666"
|
"color": "#FFEBCD"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "f2",
|
"id": "f2",
|
||||||
"name": "Kotelett",
|
"name": "Pommes",
|
||||||
"basePrice": 10,
|
"basePrice": 2.50,
|
||||||
"color": "#ff6666"
|
"color": "#FFD700"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "f3",
|
"id": "f3",
|
||||||
"name": "Bratwurst",
|
"name": "Semmel (extra)",
|
||||||
"basePrice": 5.5,
|
"basePrice": 0.50,
|
||||||
"color": "#ffffff"
|
"color": "#FFCCCB"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "f4",
|
|
||||||
"name": "Schnitzelsemmel",
|
|
||||||
"basePrice": 5.5,
|
|
||||||
"color": "#ffffff"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "f5",
|
"id": "f5",
|
||||||
"name": "Gemüselaibchensemmel",
|
"name": "Mehlspeise",
|
||||||
"basePrice": 5.5,
|
"basePrice": 2.50,
|
||||||
"color": "#ffffff"
|
"color": "#FFE4E1"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "f6",
|
|
||||||
"name": "Pommes",
|
|
||||||
"basePrice": 3.0,
|
|
||||||
"color": "#fff68f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "f7",
|
|
||||||
"name": "Gebäck",
|
|
||||||
"basePrice": 0.5
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"drinks": [
|
"drinks": [
|
||||||
{
|
{
|
||||||
"id": "d1",
|
"id": "d1",
|
||||||
"name": "Bier / Radler 1/2",
|
"name": "Bier / Radler 0.5",
|
||||||
"basePrice": 4.5,
|
"basePrice": 4.0,
|
||||||
"color": "#ff8866"
|
"color": "#F0E68C"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "d2",
|
"id": "d2",
|
||||||
"name": "Limo gespr. 1/2",
|
"name": "Bier / Radler 0.3",
|
||||||
"basePrice": 4.5,
|
"basePrice": 3.50,
|
||||||
"color": "#ff8866"
|
"color": "#D2B48C"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "d3",
|
"id": "d3",
|
||||||
"name": "Limo Leitung 1/2",
|
"name": "Limo",
|
||||||
"basePrice": 4,
|
"basePrice": 2.50,
|
||||||
"color": "#90d990"
|
"color": "#FFDAB9"
|
||||||
},
|
|
||||||
{
|
|
||||||
"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"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "d4",
|
"id": "d4",
|
||||||
"name": "Gespritzter 1/4",
|
"name": "G'spritzter",
|
||||||
"basePrice": 2.8,
|
"basePrice": 2.50,
|
||||||
"color": "#6a8acd"
|
"color": "#E0FFFF"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d6",
|
|
||||||
"name": "Gespritzer 1/2",
|
|
||||||
"basePrice": 5.6,
|
|
||||||
"color": "#6a8acd"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "d5",
|
"id": "d5",
|
||||||
"name": "Sommerspritzer 1/2",
|
"name": "Sommerspritzer",
|
||||||
"basePrice": 4,
|
"basePrice": 3.00,
|
||||||
"color": "#90d990"
|
"color": "#FFDAB9"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "d10",
|
"id": "d6",
|
||||||
"name": "Alm/Cola/Weiß/Rot 1/4",
|
"name": "1/8 Wein",
|
||||||
"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",
|
|
||||||
"basePrice": 2,
|
"basePrice": 2,
|
||||||
"color": "#90d990"
|
"color": "#FFE4E1"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d13",
|
|
||||||
"name": "Mineral 1l",
|
|
||||||
"basePrice": 4.5,
|
|
||||||
"color": "#ff8866"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "d14",
|
|
||||||
"name": "Wein 1l",
|
|
||||||
"basePrice": 14,
|
|
||||||
"color": "#ff99cc"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user