Add basic ansible stuff for management
acme-dns is fully handled by ansible already. All services should be created by ansible in the end.
This commit is contained in:
parent
607ad23697
commit
7ff7dfe807
16 changed files with 162 additions and 3 deletions
_ansible/templates
4
_ansible/templates/caddy_site.conf.j2
Normal file
4
_ansible/templates/caddy_site.conf.j2
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{ service.domain }} {
|
||||
import default
|
||||
reverse_proxy {{ service.name }}:{{ service.port }}
|
||||
}
|
1
_ansible/templates/docker-compose.yml.j2
Normal file
1
_ansible/templates/docker-compose.yml.j2
Normal file
|
@ -0,0 +1 @@
|
|||
{{ compose_default_file | combine(compose_file, recursive=True) | to_nice_yaml }}
|
Reference in a new issue