FLUXLIXDocs

Configuration

Fluxlix is configured through environment variables defined in the .env file in your install directory. The installer generates this file with sensible defaults; edit it to customize your installation.

After changing any environment variable, restart the affected services with docker compose up -d for changes to take effect.

Core settings

VariableDescriptionExample
APP_URLPublic URL users access Fluxlix athttps://fluxlix.example.com
APP_PORTPort the web interface listens on3000
NODE_ENVSet to production for production deploymentsproduction
SECRET_KEYRandom secret used for signing tokens; keep this private(generate with openssl rand -hex 32)

Database

VariableDescriptionExample
DB_HOSTPostgreSQL hostpostgres or db.example.com
DB_PORTPostgreSQL port5432
DB_NAMEDatabase namefluxlix
DB_USERDatabase userfluxlix
DB_PASSWORDDatabase password(strong random password)

If using the bundled PostgreSQL container, these default values are set by the installer and you do not need to change them unless connecting to an external database.

Redis

VariableDescriptionExample
REDIS_URLRedis connection stringredis://redis:6379

For Redis with authentication: redis://:password@redis:6379

Email

Fluxlix sends email for invitations, notifications, and password resets.

VariableDescription
SMTP_HOSTSMTP server hostname
SMTP_PORTSMTP server port (typically 587 for TLS)
SMTP_USERSMTP username
SMTP_PASSWORDSMTP password
SMTP_FROMFrom address for outgoing mail

File storage

By default, Fluxlix stores uploaded files on the local filesystem inside the Docker volume. To use S3-compatible object storage:

VariableDescription
STORAGE_DRIVERSet to s3 to enable S3 storage
S3_BUCKETBucket name
S3_REGIONAWS region or custom endpoint region
S3_ACCESS_KEYAccess key ID
S3_SECRET_KEYSecret access key
S3_ENDPOINTCustom endpoint URL (for non-AWS S3-compatible services)

AI provider keys

AI provider API keys are managed through the admin UI at Admin > AI Configuration rather than environment variables. See AI Configuration for instructions.

License server

The license server URL is pre-configured and does not need to be changed for standard installations. For air-gapped environments, contact the Fluxlix team for offline license instructions.

Next steps