swagup-server/docker-compose-urbackup.yml
2023-06-20 14:52:49 +00:00

24 lines
816 B
YAML

version: '2'
services:
urbackup:
image: uroni/urbackup-server:2.5.x
container_name: urbackup
restart: unless-stopped
environment:
- PUID=1000 # Enter the UID of the user who should own the files here
- PGID=100 # Enter the GID of the user who should own the files here
- TZ=Europe/Berlin # Enter your timezone
volumes:
- /mnt/backup/urbackup/database:/var/urbackup
- /mnt/backup/urbackup/backup:/backups
# Uncomment the next line if you want to bind-mount the www-folder
#- /path/to/wwwfolder:/usr/share/urbackup
network_mode: "host"
# Uncomment the following two lines if you're using BTRFS support
#cap_add:
# - SYS_ADMIN
# Uncomment the following two lines if you're using ZFS support
#devices:
# - /dev/zfs:/dev/zfs