Skip to main content

Environment Variables

It is important to configure all environment variables labeled as "Mandatory" to ensure Maxun operates smoothly.

VariableMandatoryDescriptionIf Not Set
BACKEND_PORTYesPort to run backend on. Needed for Docker setupDefault value: 8080
FRONTEND_PORTYesPort to run frontend on. Needed for Docker setupDefault value: 5173
BACKEND_URLYesURL to run backend on.Default value: http://localhost:8080
VITE_BACKEND_URLYesURL used by frontend to connect to backendDefault value: http://localhost:8080
PUBLIC_URLYesURL to run frontend on.Default value: http://localhost:5173
VITE_PUBLIC_URLYesURL used by backend to connect to frontendDefault value: http://localhost:5173
JWT_SECRETYesSecret key used to sign and verify JSON Web Tokens (JWTs) for authentication.JWT authentication will not work.
DB_NAMEYesName of the Postgres database to connect to.Database connection will fail.
DB_USERYesUsername for Postgres database authentication.Database connection will fail.
DB_PASSWORDYesPassword for Postgres database authentication.Database connection will fail.
DB_HOSTYesHost address where the Postgres database server is running.Database connection will fail.
DB_PORTYesPort number used to connect to the Postgres database server.Database connection will fail.
ENCRYPTION_KEYYesKey used for encrypting sensitive data (proxies, passwords).Encryption functionality will not work.
MINIO_ENDPOINTYesEndpoint URL for MinIO, to store Robot Run Screenshots.Connection to MinIO storage will fail.
MINIO_PORTYesPort number for MinIO service.Connection to MinIO storage will fail.
MINIO_CONSOLE_PORTNoPort number for MinIO WebUI service. Needed for Docker setup.Cannot access MinIO Web UI.
MINIO_ACCESS_KEYYesAccess key for authenticating with MinIO.MinIO authentication will fail.
GOOGLE_CLIENT_IDNoClient ID for Google OAuth, used for Google Sheet integration authentication.Google login will not work.
GOOGLE_CLIENT_SECRETNoClient Secret for Google OAuth.Google login will not work.
GOOGLE_REDIRECT_URINoRedirect URI for handling Google OAuth responses.Google login will not work.
REDIS_HOSTYesHost address of the Redis server, used by BullMQ for scheduling robots.Redis connection will fail.
REDIS_PORTYesPort number for the Redis server.Redis connection will fail.
MAXUN_TELEMETRYNoDisables telemetry to stop sending anonymous usage data. Keeping it enabled helps us understand how the product is used and assess the impact of any new changes. Please keep it enabled.Telemetry data will not be collected.