Adding duplicati configuration draft.
This commit is contained in:
parent
41a5646f0f
commit
70399cdebf
3
duplicati/.env.dist
Normal file
3
duplicati/.env.dist
Normal file
|
@ -0,0 +1,3 @@
|
|||
# see https://hub.docker.com/r/linuxserver/duplicati
|
||||
PGID=0
|
||||
PUID=0
|
1
duplicati/.gitignore
vendored
Normal file
1
duplicati/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.env
|
16
duplicati/docker-compose.yml
Normal file
16
duplicati/docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
duplicati:
|
||||
image: linuxserver/duplicati:latest
|
||||
container_name: duplicati
|
||||
restart: always
|
||||
env_file: .env
|
||||
ports:
|
||||
- "127.0.0.1:8200:8200/tcp"
|
||||
volumes:
|
||||
- "duplicati-data:/config"
|
||||
- "/var/backups:/source:ro"
|
||||
|
||||
volumes:
|
||||
duplicati-data:
|
|
@ -0,0 +1,22 @@
|
|||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name duplicati.server.tld;
|
||||
|
||||
#access_log /var/log/nginx/duplicati.server.tld.access.gz main buffer=16k gzip=9 flush=5m;
|
||||
error_log /var/log/nginx/duplicati.server.tld.error;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
auth_basic "Authentication needed";
|
||||
auth_basic_user_file /var/www/duplicati.server.tld/.htpasswd;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8200;
|
||||
}
|
||||
|
||||
#include config/gzip.conf;
|
||||
|
||||
# Wildcard certificate config
|
||||
#include ssl/server.tld.conf;
|
||||
#include config/ssl.conf;
|
||||
}
|
Loading…
Reference in a new issue