Skip to content

Zerobyte

Zerobyte is a backup automation tool that helps you save your data across multiple storage backends. Built on top of Restic, it provides an modern web interface to schedule, manage and monitor encrypted backups of your remote storage.


Terminal window
mkdir -p {{DOCKER_PATH_VAR}}/zerobyte && cd {{DOCKER_PATH_VAR}}/zerobyte
Terminal window
nano compose.yml
compose.yml
services:
zerobyte:
image: ghcr.io/nicotsx/zerobyte:v0.42
container_name: zerobyte
ports:
- "4096:4096"
# only required if needing to mount NFS, SMB, WebDAV or SFTP shares
# cap_add:
# - SYS_ADMIN
# devices:
# - /dev/fuse:/dev/fuse
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/lib/zerobyte:/var/lib/zerobyte
- ./backup_data:/backup_data
environment:
TZ: "{{TIME_ZONE_VAR}}"
BASE_URL: ${BASE_URL}
APP_SECRET: ${APP_SECRET}
restart: unless-stopped
Terminal window
nano .env
.env
BASE_URL=http://{{SERVER_IP_VAR}}:4096
APP_SECRET= # openssl rand -hex 32
# optional
# PORT= # Default 4096
# TRUSTED_ORIGINS= # http://localhost:3000,https://example.com
Terminal window
docker compose up -d

http://localhost:4096 or http://{{SERVER_IP_VAR}}:4096