Files
zfs/.env
2026-02-13 19:44:00 +01:00

32 lines
789 B
Bash

# ===========================================
# ZFS Snapshot Manager Configuration
# ===========================================
# S3 Configuration (Server)
S3_ENABLED=true
S3_ENDPOINT=localhost:9000
S3_ACCESS_KEY=minioadmin
S3_SECRET_KEY=minioadmin
S3_BUCKET=zfs
S3_USE_SSL=false
# Local ZFS Configuration (Server)
ZFS_BASE_DATASET=backup
# Database Configuration (Server)
DATABASE_PATH=zfs-backup.db
# Server Configuration
PORT=8080
# ===========================================
# Client Configuration
# ===========================================
CLIENT_ID=client1
# NOTE: Use the RAW API key here, not the hashed version!
# The server stores the hash in the database, client sends raw key
API_KEY=secret123
SERVER_URL=http://localhost:8080
LOCAL_DATASET=volume/test
COMPRESS=true