fix: variable
This commit is contained in:
parent
0366e2011f
commit
dc00b4cbaf
@ -70,7 +70,7 @@
|
|||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: nextcloud-web.quadlet.j2
|
src: nextcloud-web.quadlet.j2
|
||||||
dest: "/etc/containers/systemd/nextcloud-web.container"
|
dest: "/etc/containers/systemd/nextcloud-web.container"
|
||||||
|
|
||||||
- name: "Reload systemd"
|
- name: "Reload systemd"
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
|
@ -16,7 +16,7 @@ Environment=POSTGRES_USER=nextcloud
|
|||||||
Environment=POSTGRES_PASSWORD=nextcloud
|
Environment=POSTGRES_PASSWORD=nextcloud
|
||||||
Environment=POSTGRES_DB=nextcloud
|
Environment=POSTGRES_DB=nextcloud
|
||||||
|
|
||||||
Environment=NEXTCLOUD_TRUSTED_DOMAINS={% for domain in nextcloud_domains %}{{domain}} {% endfor %}
|
Environment=NEXTCLOUD_TRUSTED_DOMAINS={{ nextcloud_domains|join(" ") }}
|
||||||
|
|
||||||
|
|
||||||
Network=nextcloud.network
|
Network=nextcloud.network
|
||||||
|
@ -14,7 +14,7 @@ Network=nextcloud.network
|
|||||||
Volume=/var/nextcloud/web/nginx.conf:/etc/nginx/nginx.conf
|
Volume=/var/nextcloud/web/nginx.conf:/etc/nginx/nginx.conf
|
||||||
Volume=/var/nextcloud/app:/var/www/html:z
|
Volume=/var/nextcloud/app:/var/www/html:z
|
||||||
|
|
||||||
{% for domain in nextcloud_domains %}
|
{% for domain in nextcloud_domains -%}
|
||||||
Label="traefik.http.routers.nextcloud{{loop.index}}.tls.certresolver=resolver"
|
Label="traefik.http.routers.nextcloud{{loop.index}}.tls.certresolver=resolver"
|
||||||
Label="traefik.http.routers.nextcloud{{loop.index}}.tls=true"
|
Label="traefik.http.routers.nextcloud{{loop.index}}.tls=true"
|
||||||
Label="traefik.http.routers.nextcloud{{loop.index}}.rule=Host(`{{ domain }}`)"
|
Label="traefik.http.routers.nextcloud{{loop.index}}.rule=Host(`{{ domain }}`)"
|
||||||
|
Loading…
Reference in New Issue
Block a user