fix: variable
This commit is contained in:
parent
0366e2011f
commit
dc00b4cbaf
@ -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