pleshevski.ru/docker-compose.yml
Dmitriy Pleshevskiy 0f0550c7f1
All checks were successful
continuous-integration/drone/push Build is passing
ci: try to change host
2023-03-06 00:28:36 +03:00

28 lines
768 B
YAML

version: "3.9"
networks:
rp_public:
external: true
services:
site:
image: $PLESHEVSKI_IMAGE
networks:
- rp_public
deploy:
replicas: 1
endpoint_mode: vip
update_config:
order: start-first
rollback_config:
order: start-first
labels:
- traefik.enable=true
- traefik.docker.network=rp_public
- traefik.constraint-label=magenta_public
- traefik.http.routers.pleshevski_https.rule=Host(`pleshevski.ru`)
- traefik.http.routers.pleshevski_https.entrypoints=https
- traefik.http.routers.pleshevski_https.tls=true
- traefik.http.routers.pleshevski_https.tls.certresolver=le
- traefik.http.services.pleshevski.loadbalancer.server.port=33334