certbot
This commit is contained in:
parent
4d22c2659b
commit
6195c748ec
@ -5,6 +5,9 @@ services:
|
|||||||
image: mathwave/sprint-repo:sprint-infra-nginx-dev
|
image: mathwave/sprint-repo:sprint-infra-nginx-dev
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
volumes:
|
||||||
|
- certs:/etc/letsencrypt
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@ -99,6 +102,24 @@ services:
|
|||||||
parallelism: 1
|
parallelism: 1
|
||||||
order: start-first
|
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:
|
volumes:
|
||||||
minio_data:
|
minio_data:
|
||||||
driver: local
|
driver: local
|
||||||
|
certs:
|
||||||
|
driver: local
|
Loading…
Reference in New Issue
Block a user