Use mounts instead of volumes + exposes volumes and network

This commit is contained in:
nemunaire 2024-01-08 18:52:44 +01:00
commit 67d954473a
2 changed files with 8 additions and 2 deletions

View file

@ -7,6 +7,10 @@ happydomain_version: "latest"
happydomain_data_dir: "" # defaults to /var/lib/happydomain.{{ instance_name }} if not filled
happydomain_inner_data_dir: "/data"
happydomain_docker_network: "default"
happydomain_docker_mounts:
- source: "{% if happydomain_data_dir != '' %}{{ happydomain_data_dir }}{% else %}/var/lib/{% if instance_name != 'happyDomain' %}happydomain.{% endif %}{{ instance_name }}{% endif %}"
target: "{{ happydomain_inner_data_dir }}"
happydomain_admin_bind: "./happydomain.sock"
happydomain_baseurl: ""