Cleanup
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Successful in 1m12s

This commit is contained in:
fhs52267
2026-04-02 21:48:44 +02:00
parent 37669fbc3a
commit d3f93199e4
3 changed files with 2 additions and 46 deletions
-38
View File
@@ -1,38 +0,0 @@
upstream backend {
server backend:5000;
}
upstream frontend {
server frontend:5173;
}
server {
listen 8080;
server_name _;
location /api/ {
proxy_pass http://backend/api/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
proxy_pass http://frontend/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /__vite_ping {
access_log off;
return 200 "pong\n" Content-Type "text/plain";
}
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "lunchtime-web",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}
+2 -2
View File
@@ -1,7 +1,7 @@
services:
nginx:
volumes:
- ../nginx.dev.conf:/etc/nginx/conf.d/default.conf:ro
- ../nginx.conf:/etc/nginx/conf.d/default.conf:ro
backend:
build:
@@ -25,4 +25,4 @@ services:
- ./frontend/tsconfig.json:/app/tsconfig.json
- ./frontend/tsconfig.node.json:/app/tsconfig.node.json
- /app/node_modules
command: npm run dev -- --host 0.0.0.0 --port 5173
command: npm run dev -- --host 0.0.0.0 --port 8000