Jake Howard
796c694170
This ensures it has all the right permissions to access all the right files. Host is mounted read-only, so there's no real security risk.
16 lines
402 B
YAML
16 lines
402 B
YAML
version: "2.3"
|
|
services:
|
|
duplicati:
|
|
image: linuxserver/duplicati:v2.0.5.1-2.0.5.1_beta_2020-01-18-ls66
|
|
hostname: "{{ ansible_fqdn }}"
|
|
environment:
|
|
- PUID=0
|
|
- PGID=0
|
|
- TZ=Europe/London
|
|
volumes:
|
|
- ./config:/config
|
|
- ./restore:/restore
|
|
- /:/source:ro
|
|
restart: unless-stopped
|
|
ports:
|
|
- "{{ wireguard.clients[ansible_fqdn].ip }}:8200:8200"
|