# Vps-Monitor Environment Configuration # ============================================================================= # Authentication Settings (Required) # ============================================================================= # JWT Secret Key - Use a strong, random string (minimum 32 characters) # Generate one with: openssl rand -base64 32 JWT_SECRET=your-super-secret-key-change-this-to-something-random-min-32-chars # Admin User Credentials ADMIN_USERNAME=admin # Admin Password Salt - Use a strong, random string # Generate one with: openssl rand -hex 32 ADMIN_PASSWORD_SALT=your-random-salt-change-this # Admin Password Hash - SHA256 hash of (password + salt) # Generate one with: echo -n "yourPassword$(echo -n 'your-salt' | cat)" | shasum -a 256 | awk '{print $1}' # Or in one command (replace YOUR_PASSWORD and YOUR_SALT): # echo -n "YOUR_PASSWORDYOUR_SALT" | shasum -a 256 | awk '{print $1}' # Example: If password is "admin123" and salt is "mysalt", run: # echo -n "admin123mysalt" | shasum -a 256 | awk '{print $1}' ADMIN_PASSWORD=change-this-to-your-sha256-hash # ============================================================================= # Server Configuration (Optional) # ============================================================================= # Backend port (default 6789) BACKEND_PORT=6789 # Frontend port (default: 2345) FRONTEND_PORT=2345 # ============================================================================= # Docker Configuration (Optional) # ============================================================================= # Docker host (uncomment to override default) DOCKER_HOST=unix:///var/run/docker.sock # Multiple Docker hosts (comma-separated, format: name|host) # Can also be configured via the Settings page at runtime. # DOCKER_HOSTS=local|unix:///var/run/docker.sock,remote|ssh://root@10.0.0.1 # ============================================================================= # Coolify Integration (Optional) # ============================================================================= # Persist environment variable changes across Coolify redeployments. # Format: hostName|apiURL|apiToken (comma-separated for multiple hosts) # Can also be configured via the Settings page at runtime. # COOLIFY_CONFIGS=prod|https://coolify.example.com|your-api-token # ============================================================================= # Read-Only Mode (Optional) # ============================================================================= # When true, disables all container actions (start/stop/restart/remove). # Can also be toggled via the Settings page at runtime. READONLY_MODE=false