2022-06-03 14:03:58 +03:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
rp_public:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
site:
|
2022-06-08 23:24:19 +03:00
|
|
|
image: $PLESHEVSKI_IMAGE
|
2022-06-03 14:03:58 +03:00
|
|
|
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
|
2023-03-06 00:28:36 +03:00
|
|
|
- traefik.constraint-label=magenta_public
|
2022-06-03 14:03:58 +03:00
|
|
|
- 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
|
2022-06-08 23:24:19 +03:00
|
|
|
- traefik.http.services.pleshevski.loadbalancer.server.port=33334
|