From fb1be1dde8191b2f032e8a55d99510e5249ac843 Mon Sep 17 00:00:00 2001 From: pixelthorn Date: Tue, 30 Jun 2026 21:06:47 -0500 Subject: [PATCH] Add zerobyte.yaml --- zerobyte.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 zerobyte.yaml diff --git a/zerobyte.yaml b/zerobyte.yaml new file mode 100644 index 0000000..66b5bf3 --- /dev/null +++ b/zerobyte.yaml @@ -0,0 +1,33 @@ +services: + #Zerobyte includes Restic for backup functionality + zerobyte: + image: ghcr.io/nicotsx/zerobyte:latest + container_name: zerobyte + restart: unless-stopped + ports: + - "4096:4096" + #If you only need to back up locally mounted folders and don't require remote share mounting capabilities, you can remove the SYS_ADMIN capability and FUSE device + #cap_add: + # - SYS_ADMIN + #devices: + # - /dev/fuse:/dev/fuse + environment: + - TZ=America/Chicago + - BASE_URL=${ZEROBYTE_URL} # URL you will use to access Zerobyte + - APP_SECRET=${APP_SECRET} # Generate your own secret with `openssl rand -hex 32` + labels: + - homepage.group=Utilities + - homepage.name=Zerobyte + - homepage.icon=zerobyte.png + - homepage.href=${ZEROBYTE_URL} + - homepage.description=Server Backups + - dockhand.url=${ZEROBYTE_URL} + volumes: + - /etc/localtime:/etc/localtime:ro + - /mnt/backup/zerobyte:/var/lib/zerobyte #repo location + - /mnt:/server_mnt + - /srv:/server_srv + - /home:/server_home + - /etc:/server_etc + - /usr:/server_usr + - /var/lib/docker:/server_docker \ No newline at end of file