Add watchtower to ansible
This commit is contained in:
parent
753682aa86
commit
5908976abc
10 changed files with 64 additions and 49 deletions
_ansible/inventory/group_vars/all
|
@ -1,4 +1,4 @@
|
|||
compose_default_file:
|
||||
compose_file_main:
|
||||
services:
|
||||
app:
|
||||
image: "{{ compose.image }}"
|
||||
|
@ -13,8 +13,18 @@ compose_default_file:
|
|||
apps:
|
||||
external: true
|
||||
|
||||
compose_env_file:
|
||||
compose_file_env:
|
||||
services:
|
||||
app:
|
||||
env_file:
|
||||
- service.env
|
||||
|
||||
compose_file_ports:
|
||||
services:
|
||||
app:
|
||||
ports: "{{ compose.ports }}"
|
||||
|
||||
compose_file_volumes:
|
||||
services:
|
||||
app:
|
||||
volumes: "{{ compose.volumes }}"
|
||||
|
|
|
@ -4,5 +4,10 @@ postgres:
|
|||
host: db.serguzim.me
|
||||
port: 5432
|
||||
|
||||
mailer:
|
||||
host: mail.serguzim.me
|
||||
port: 587
|
||||
|
||||
|
||||
services_path: /opt/services/
|
||||
caddy_config_path: "{{ (services_path, 'caddy', 'config', 'conf.d') | path_join }}"
|
||||
|
|
Reference in a new issue