certbot
This commit is contained in:
parent
69945a3744
commit
4fb04e786a
@ -102,22 +102,6 @@ services:
|
|||||||
parallelism: 1
|
parallelism: 1
|
||||||
order: start-first
|
order: start-first
|
||||||
|
|
||||||
certbot:
|
|
||||||
image: certbot/certbot
|
|
||||||
volumes:
|
|
||||||
- certs:/etc/letsencrypt
|
|
||||||
command: certonly --standalone --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
|
||||||
|
@ -11,6 +11,15 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name telegram.develop.sprinthub.ru;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://web.telegram.org/;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name swarmpit.develop.sprinthub.ru;
|
server_name swarmpit.develop.sprinthub.ru;
|
||||||
|
Loading…
Reference in New Issue
Block a user