add admin panel

This commit is contained in:
2026-02-13 19:44:00 +01:00
parent fb9bb2fc82
commit c672fccce3
11 changed files with 2185 additions and 255 deletions

10
.env
View File

@@ -3,7 +3,7 @@
# ===========================================
# S3 Configuration (Server)
S3_ENABLED=false
S3_ENABLED=true
S3_ENDPOINT=localhost:9000
S3_ACCESS_KEY=minioadmin
S3_SECRET_KEY=minioadmin
@@ -12,8 +12,9 @@ S3_USE_SSL=false
# Local ZFS Configuration (Server)
ZFS_BASE_DATASET=backup
CONFIG_FILE=clients.json
METADATA_FILE=metadata.json
# Database Configuration (Server)
DATABASE_PATH=zfs-backup.db
# Server Configuration
PORT=8080
@@ -23,9 +24,8 @@ PORT=8080
# ===========================================
CLIENT_ID=client1
# NOTE: Use the RAW API key here, not the hashed version!
# The server stores the hash in clients.json, client sends raw key
# 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
STORAGE_TYPE=local