feat(deploy): docker compose + nginx static for netcup VPS

This commit is contained in:
2026-04-28 18:58:32 +02:00
parent 3a211c77b5
commit fe8f968f7a
5 changed files with 133 additions and 5 deletions

23
compose.yaml Normal file
View File

@@ -0,0 +1,23 @@
name: cc
services:
cc:
build:
context: .
args:
VITE_SUPABASE_URL: ${VITE_SUPABASE_URL}
VITE_SUPABASE_ANON_KEY: ${VITE_SUPABASE_ANON_KEY}
image: cc:local
restart: always
networks:
- edge
healthcheck:
test: ['CMD-SHELL', 'wget -qO- http://127.0.0.1/health || exit 1']
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
edge:
external: true