Fix network and mounts options

This commit is contained in:
nemunaire 2024-01-23 14:12:41 +01:00
parent a69b4364fd
commit b1e3c3be53

View File

@ -7,11 +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 }}"
type: "bind"
happydomain_admin_bind: "./happydomain.sock"
happydomain_baseurl: ""
happydomain_custom_body_html: ""