version: '2' services: urbackup: image: docker.io/uroni/urbackup-server:latest container_name: urbackup-server restart: unless-stopped environment: - PUID=1001 # Enter the UID of the user who should own the files here - PGID=1001 # Enter the GID of the user who should own the files here - TZ=America/Toronto volumes: - ./database:/var/urbackup - ./backups:/backups # Uncomment the next line if you want to bind-mount the www-folder - ./wwwfolder:/usr/share/urbackup ports: - 55413:55413/tcp - 55414:55414/tcp - 55415:55415/tcp #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