Files
kamco-train-api/deploy/docker-compose-nginx.yml
dabeeo f75ec77ccf hoony
2026-04-20 15:30:26 +09:00

25 lines
592 B
YAML

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