services: jailgames: container_name: jailgames hostname: jailgames image: nginx:alpine volumes: - jailgames-html:/usr/share/nginx/html:ro - jailgames-nginx:/etc/nginx/conf.d:ro - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro networks: - web labels: - traefik.enable=true - traefik.docker.network=web - traefik.http.routers.jailgames.rule=Host(`jailgames.sustancia.synology.me`) - traefik.http.routers.jailgames.tls=true - traefik.http.routers.jailgames.tls.certresolver=letsencrypt - traefik.http.services.jailgames.loadbalancer.server.scheme=http - traefik.http.services.jailgames.loadbalancer.server.port=80 healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost/"] interval: 30s timeout: 5s retries: 3 start_period: 10s restart: unless-stopped volumes: jailgames-html: driver: local driver_opts: o: bind type: none device: /var/volumes/web_jailgames/html jailgames-nginx: driver: local driver_opts: o: bind type: none device: /var/volumes/web_jailgames/nginx networks: web: external: true