services: ansicolor: image: oci.liz.coffee/emprespresso/ansicolor:release environment: - TZ={{ timezone }} - DEPLOYMENT_TIME={{ deployment_time }} networks: - proxy healthcheck: test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:80 || exit 1"] timeout: 15s interval: 30s retries: 3 start_period: 5s deploy: mode: replicated update_config: parallelism: 1 failure_action: rollback order: start-first delay: 5s monitor: 30s replicas: 1 labels: - traefik.enable=true - traefik.swarm.network=proxy - traefik.http.routers.ansicolor.tls=true - traefik.http.routers.ansicolor.tls.certResolver=letsencrypt - traefik.http.routers.ansicolor.rule=Host(`{{ ansicolor_domain }}`) - traefik.http.routers.ansicolor.entrypoints=websecure - traefik.http.services.ansicolor.loadbalancer.server.port=80 networks: proxy: external: true