This commit is contained in:
Administrator 2022-08-29 14:01:11 +03:00
parent 4d22c2659b
commit 6195c748ec

View File

@ -5,6 +5,9 @@ services:
image: mathwave/sprint-repo:sprint-infra-nginx-dev
ports:
- "80:80"
- "443:443"
volumes:
- certs:/etc/letsencrypt
deploy:
mode: replicated
replicas: 1
@ -99,6 +102,24 @@ services:
parallelism: 1
order: start-first
certbot:
image: certbot/certbot
volumes:
- certs:/etc/letsencrypt
command: certonly --email emmtvv@gmail.com --agree-tos --no-eff-email --staging -d "*.develop.sprinthub.ru"
deploy:
mode: replicated
placement:
constraints: [node.role == manager]
restart_policy:
condition: any
delay: 720h # each month
update_config:
parallelism: 1
order: start-first
volumes:
minio_data:
driver: local
certs:
driver: local