Skip to main content
Configure the Blink Server using CLI flags or environment variables.

Configuration Reference

Configuration Priority

CLI flags take precedence over environment variables, which take precedence over default values.

Auto-Generated Secrets

If BLINK_AUTH_SECRET is not set, the server automatically generates and stores a secret in ~/.config/blink-server/auth-secret.txt. Set this explicitly in production.

PostgreSQL Connection

The BLINK_POSTGRES_URL should be a standard PostgreSQL connection string:
Migrations run automatically on server startup.