mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-14 18:35:24 +02:00
add duplicati
This commit is contained in:
28
blueprints/duplicati/docker-compose.yml
Normal file
28
blueprints/duplicati/docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
duplicati:
|
||||
image: 'lscr.io/linuxserver/duplicati:latest'
|
||||
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}'
|
||||
volumes:
|
||||
- 'duplicati-config:/config'
|
||||
- '/path/to/backups:/backups'
|
||||
- '/path/to/source:/source'
|
||||
- '/path/to/restore:/restore'
|
||||
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- '-f'
|
||||
- 'http://127.0.0.1:8200'
|
||||
interval: 2s
|
||||
timeout: 10s
|
||||
retries: 15
|
||||
|
||||
volumes:
|
||||
duplicati-config: {}
|
||||
BIN
blueprints/duplicati/logo.png
Normal file
BIN
blueprints/duplicati/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
13
blueprints/duplicati/template.toml
Normal file
13
blueprints/duplicati/template.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "duplicati"
|
||||
port = 8200
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
TZ = "Europe/Vienna"
|
||||
SETTINGS_ENCRYPTION_KEY = "${password:32}"
|
||||
DUPLICATI__WEBSERVICE_PASSWORD = "${password:16}"
|
||||
Reference in New Issue
Block a user