This commit is contained in:
dabeeo
2026-04-20 15:30:26 +09:00
parent 9fa549285f
commit f75ec77ccf
7 changed files with 639 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
services:
nginx:
image: nginx:alpine
container_name: kamco-train-nginx
user: 1000:1000
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./ssl:/etc/nginx/ssl:ro
- ./logs:/var/log/nginx
networks:
- kamco-cds
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "--no-check-certificate", "https://localhost/monitor/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
kamco-cds:
external: true