Prepare services for lego certificate service

This commit is contained in:
Tobias Reisinger 2023-12-20 01:29:53 +01:00
parent 6c6ade1b9a
commit da5d6eef8c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 28 additions and 9 deletions
inventory/group_vars/all

View file

@ -5,6 +5,16 @@ compose_file_main:
restart: always
labels:
com.centurylinklabs.watchtower.enable: "{{ compose.watchtower | default(false) }}"
compose_file_env:
services:
app:
env_file:
- service.env
compose_file_networks:
services:
app:
networks:
default:
apps:
@ -15,12 +25,6 @@ compose_file_main:
apps:
external: true
compose_file_env:
services:
app:
env_file:
- service.env
compose_file_volumes:
services:
app:

View file

@ -14,6 +14,9 @@ acme_dns:
services_path: /opt/services/
caddy_path: "{{ (services_path, 'caddy') | path_join }}"
caddy_config_path: "{{ (caddy_path, 'config', 'conf.d') | path_join }}"
managed_sites: []
certificates_path: "{{ (services_path, '_certificates') | path_join }}"