mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-10 00:15:28 +02:00
fix: align compose env vars with template.toml and allow external hostnames
The compose file referenced ${SERVICE_PASSWORD_ENCRYPT} and
${SERVICE_PASSWORD_WEB}, but template.toml defines the variables as
SETTINGS_ENCRYPTION_KEY and DUPLICATI__WEBSERVICE_PASSWORD, so both
values rendered empty at deploy time. Also removed the leftover
SERVICE_URL_DUPLICATI_8200 passthrough entry and added
DUPLICATI__WEBSERVICE_ALLOWED_HOSTNAMES=* so the Duplicati web server
(2.0.8+) accepts requests forwarded by Traefik for the configured
domain instead of rejecting unknown Host headers.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,12 +4,12 @@ services:
|
||||
image: 'lscr.io/linuxserver/duplicati:${APP_RELEASE:-2.3.0}'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SERVICE_URL_DUPLICATI_8200
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- 'TZ=${TZ:-Europe/London}'
|
||||
- 'SETTINGS_ENCRYPTION_KEY=${SERVICE_PASSWORD_ENCRYPT}'
|
||||
- 'DUPLICATI__WEBSERVICE_PASSWORD=${SERVICE_PASSWORD_WEB}'
|
||||
- 'SETTINGS_ENCRYPTION_KEY=${SETTINGS_ENCRYPTION_KEY}'
|
||||
- 'DUPLICATI__WEBSERVICE_PASSWORD=${DUPLICATI__WEBSERVICE_PASSWORD}'
|
||||
- 'DUPLICATI__WEBSERVICE_ALLOWED_HOSTNAMES=*'
|
||||
volumes:
|
||||
- 'duplicati-config:/config'
|
||||
- '../files/backups:/backups'
|
||||
|
||||
Reference in New Issue
Block a user