feat: implement settings synchronization with server, including encryption and API endpoints
This commit is contained in:
@@ -40,3 +40,25 @@ LOG_LEVEL=info
|
||||
#
|
||||
# Then run:
|
||||
# docker compose up -d
|
||||
|
||||
# =============================================================================
|
||||
# Session & Security
|
||||
# =============================================================================
|
||||
|
||||
# Secret key for encrypting "Remember me" sessions and settings sync data
|
||||
# Required for both "Remember me" and settings sync features
|
||||
# Use a strong random string (e.g. openssl rand -base64 32)
|
||||
# SESSION_SECRET=your-secret-key-here
|
||||
|
||||
# =============================================================================
|
||||
# Settings Sync
|
||||
# =============================================================================
|
||||
|
||||
# Enable server-side settings persistence (requires SESSION_SECRET)
|
||||
# When enabled, user settings are encrypted and stored on the server,
|
||||
# allowing them to sync across browsers and devices.
|
||||
# SETTINGS_SYNC_ENABLED=true
|
||||
|
||||
# Directory for storing encrypted settings files (default: ./data/settings)
|
||||
# For Docker, mount a persistent volume at this path.
|
||||
# SETTINGS_DATA_DIR=./data/settings
|
||||
|
||||
Reference in New Issue
Block a user