Adding duplicati configuration draft.

This commit is contained in:
Alexey Skobkin 2019-04-10 20:51:14 +03:00
parent 41a5646f0f
commit 70399cdebf
4 changed files with 42 additions and 0 deletions

3
duplicati/.env.dist Normal file
View file

@ -0,0 +1,3 @@
# see https://hub.docker.com/r/linuxserver/duplicati
PGID=0
PUID=0

1
duplicati/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.env

View 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:

View file

@ -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;
}