Skip to Content

Environment Variables

This page lists the environment variables used by the Docker deployment.

Domains

VariableExampleUsed by
APP_DOMAINrocontrol.duckdns.orgCaddy, backend
API_DOMAINapi-rocontrol.duckdns.orgCaddy, frontend, backend
DOCS_DOMAINdocs.rocontrol.duckdns.orgCaddy
ACME_EMAILops@example.comCaddy certificates

Database

VariableUsed by
POSTGRES_DBPostgres and backend
POSTGRES_USERPostgres and backend
POSTGRES_PASSWORDPostgres and backend
DATABASE_URLBackend container

Auth and app secrets

VariablePurpose
ROBLOX_CLIENT_IDRoblox OAuth app client ID
ROBLOX_CLIENT_SECRETRoblox OAuth app client secret
ROBLOX_REDIRECT_URIRoblox OAuth callback
SESSION_SECRETBackend session signing
APP_ENCRYPTION_KEYBackend encrypted secret storage

Frontend

VariablePurpose
NEXT_PUBLIC_ROCONTROL_BACKEND_URLBrowser-visible backend API base URL
ROCONTROL_INTERNAL_BACKEND_URLContainer-internal backend base URL
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEYClerk publishable key if Clerk is enabled
CLERK_SECRET_KEYClerk server secret if Clerk is enabled

Icon Automation

VariablePurpose
ICON_AUTOMATION_STORAGE_DIRWhere uploaded icon assets are stored
ICON_AUTOMATION_INTERVAL_MSScheduler interval

Discord and Roblox integration secrets may also be required depending on which Icon Automation features are enabled.