Files
error-page/docker-compose.yml
2026-08-15 19:50:54 +09:00

22 lines
577 B
YAML

name: error-page
services:
error-page:
image: nginx:alpine
container_name: error-page
restart: unless-stopped
# Reach 127.0.0.1-bound app ports on the NAS (DSM reverse proxy style).
network_mode: host
environment:
TZ: Asia/Seoul
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./upstreams.map:/etc/nginx/upstreams.map:ro
- ./html:/usr/share/nginx/html:ro
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:4098/healthz"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s