This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
container/compose.yml

23 lines
586 B
YAML
Raw Permalink Normal View History

2021-02-14 13:37:12 +00:00
---
version: "3.8"
services:
app:
2021-02-14 13:44:40 +00:00
image: "${IMAGE}"
2021-02-14 13:37:12 +00:00
networks:
- proxy
deploy:
2021-02-14 13:44:40 +00:00
update_config:
failure_action: rollback
order: start-first
2021-02-14 13:37:12 +00:00
labels:
- "traefik.enable=true"
2021-02-14 13:44:40 +00:00
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=${PORT}"
2021-02-14 13:37:12 +00:00
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
networks:
proxy:
external: true