Add zerobyte.yaml
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user