mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
Fixed certificate renewal bug
This commit is contained in:
parent
5a0684fa2d
commit
3eca5dabdf
@ -5,4 +5,4 @@ OnFailure=sys-alm-compose.infinito@%n.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/certbot renew --quiet --agree-tos
|
||||
ExecStartPost=/bin/systemctl reload nginx.service
|
||||
ExecStartPost=/usr/bin/docker restart {{ applications | get_app_conf('svc-prx-openresty', 'docker.services.openresty.name', True) }}
|
||||
|
4
roles/svc-prx-openresty/config/main.yml
Normal file
4
roles/svc-prx-openresty/config/main.yml
Normal file
@ -0,0 +1,4 @@
|
||||
docker:
|
||||
services:
|
||||
openresty:
|
||||
name: "openresty"
|
@ -7,7 +7,7 @@ database_type: false
|
||||
# Openresty
|
||||
openresty_image: "openresty/openresty"
|
||||
openresty_version: "alpine"
|
||||
openresty_container: "openresty"
|
||||
openresty_container: "{{ applications | get_app_conf(application_id, 'docker.services.openresty.name', True) }}"
|
||||
|
||||
# Docker
|
||||
docker_compose_flush_handlers: true
|
Loading…
x
Reference in New Issue
Block a user