Fixed certificate renewal bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-07 13:21:38 +02:00
parent 5a0684fa2d
commit 3eca5dabdf
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
3 changed files with 6 additions and 2 deletions

View File

@ -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) }}

View File

@ -0,0 +1,4 @@
docker:
services:
openresty:
name: "openresty"

View File

@ -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