Environment Variables
These can be set in your shell or in a .env file the same directory as a omegga-config.yml file.
omegga accepts the following environment variables:
BRICKADIA_TOKEN- Specify hosting token instead of using config (generate one at https://brickadia.com/account/tokens)BRICKADIA_USER- Brickadia auth username (on first start)BRICKADIA_PASS- Brickadia auth password (on first start)BRICKADIA_PORT- Brickadia server port (default7777); overridesserver.portfrom the configOMEGGA_PORT- omegga webserver port (default8080); overridesomegga.portfrom the configOMEGGA_UI_HOST- host shown in the “Web UI available at” log message (default127.0.0.1)METRICS_ENABLED- Serve the prometheus metrics endpoint; overridesmetrics.enabledfrom the configMETRICS_BIND- Address the metrics endpoint binds to (default127.0.0.1); overridesmetrics.bindMETRICS_PORT- Metrics endpoint port (default9000); overridesmetrics.portLOGS_ENABLED- Write console output to log files (defaulttrue); overrideslogs.enabledfrom the configLOGS_DIR- Where log files go, relative to the working directory (default./data/logs); overrideslogs.dirLOGS_MAX_SIZE_MB- Megabytes one day’s log may reach before rolling to a numbered part (default32); overrideslogs.maxSizeMBLOGS_KEEP_DAYS- Days of logs to keep, counting today;0keeps them forever (default7); overrideslogs.keepDaysLOGS_TIMESTAMP- dateformat pattern prefixed to every log line (defaultyyyy-mm-dd HH:MM:ss.l); overrideslogs.timestampLOGS_VERBOSE- Keep--verbosedetail in the log file while the terminal stays quiet (defaultfalse); overrideslogs.verboseBRICKADIA_DIR- Override the need to use steamcmd and point to a Brickadia install directory (eg./home/<USER>/.config/omegga/steam_installs/main/Brickadia)STEAM_INSTALLS_DIR- Set where omegga installs brickadia via steamcmd (default~/.config/omegga/steam_installs)STEAM_APP_ID- Set the Steam App ID for Brickadia (default3017590)STEAM_USERNAME- Set the Steam username for downloading Brickadia via steamcmd. Runomegga steamloginto authenticate with Steam GuardSTEAM_PASSWORD- (Optional) Steam password; if not set, you will be prompted interactivelyVERBOSE- Set totrueto enable verbose logging, equivalent to the--verboseflag (defaultfalse)PACKAGE_NOTIFIER- When set tofalse, disables the npm update notifierSTEAM_NOTIFIER- When set tofalse, disables the SteamCMD update notifierSKIP_STEAMCMD_PROMPT- When set totrue, agrees to installing SteamCMD without promptingOMEGGA_GIT- Which git implementation plugin installs and updates use:binfor thegitbinary,jsfor the bundled one. Defaults tobinwhen git is onPATH,jswhen it is notBRICKADIA_DEBUG- Set totrueto enable debug logging, equivalent to the--debugflag (defaultfalse)OMEGGA_NONINTERACTIVE- Set totrueto fail instead of prompting for authentication. Defaults totruewhen stdin is not a terminal; set it explicitly on hosts that provide a terminal that cannot answer a prompt, such as a game panel console that only submits whole lines