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 - ./proxy_to_app.conf:/etc/nginx/proxy_to_app.conf: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