init
This commit is contained in:
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
# WM 2026 Board — passt in dein bestehendes Caddy-Setup auf dem Contabo-VPS.
|
||||
# Annahme: Caddy läuft als Reverse-Proxy in einem gemeinsamen externen Netz "caddy_net".
|
||||
# Falls dein Netz anders heißt, unten anpassen.
|
||||
|
||||
services:
|
||||
wm2026:
|
||||
build: .
|
||||
image: wm2026-board:latest
|
||||
container_name: wm2026
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
expose:
|
||||
- "3000"
|
||||
networks:
|
||||
- caddy_net
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/matches"]
|
||||
interval: 60s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
|
||||
networks:
|
||||
caddy_net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user