infrastructure/ansible/roles/duplicati/files/docker-compose.yml
Jake Howard 796c694170
Run duplicati as root
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.
2020-08-30 11:15:08 +01:00

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"