@@ -20,18 +20,18 @@ Configuration is loaded from multiple sources in priority order:
20205 . config.json file
21216 . Default values (lowest priority)
2222
23- | Name | Type | Default | Description | Example |
24- | ------------------------| -----------| -------------------------------------| -----------------------------------------------------------------------| ---------------------------------------------------------------------- |
25- | ` DEBUG ` | ` boolean ` | ` false ` | Enable debug mode | ` false ` , ` true ` |
26- | ` LOG_LEVEL ` | ` string ` | ` "INFO" ` | Logging level (TRACE, DEBUG, INFO, SUCCESS, WARNING, ERROR, CRITICAL) | ` "INFO" ` , ` "DEBUG" ` , ` "WARNING" ` , ` "ERROR" ` |
27- | ` BOT_TOKEN ` | ` string ` | ` "" ` | Discord bot token | ` "MTIzNDU2Nzg5MDEyMzQ1Njc4OQ.AbCdEf.GhIjKlMnOpQrStUvWxYz1234567890" ` |
28- | ` POSTGRES_HOST ` | ` string ` | ` "localhost" ` | PostgreSQL host | ` "localhost" ` , ` "tux-postgres" ` , ` "db.example.com" ` |
29- | ` POSTGRES_PORT ` | ` integer ` | ` 5432 ` | PostgreSQL port | ` 5432 ` , ` 5433 ` |
30- | ` POSTGRES_DB ` | ` string ` | ` "tuxdb" ` | PostgreSQL database name | ` "tuxdb" ` , ` "tux_production" ` |
31- | ` POSTGRES_USER ` | ` string ` | ` "tuxuser" ` | PostgreSQL username | ` "tuxuser" ` , ` "tux_admin" ` |
32- | ` POSTGRES_PASSWORD ` | ` string ` | ` "ChangeThisToAStrongPassword123!" ` | PostgreSQL password | ` "ChangeThisToAStrongPassword123!" ` , ` "SecurePassword456!" ` |
33- | ` DATABASE_URL ` | ` string ` | ` "" ` | Custom database URL override | ` "postgresql://user:password@localhost:5432/tuxdb" ` |
34- | ` ALLOW_SYSADMINS_EVAL ` | ` boolean ` | ` false ` | Allow sysadmins to use eval | ` false ` , ` true ` |
23+ | Name | Type | Default | Description | Example |
24+ | ------------------------| -----------| -------------------------------------| -----------------------------------------------------------------------| -------------------------------------------------------------|
25+ | ` DEBUG ` | ` boolean ` | ` false ` | Enable debug mode | ` false ` , ` true ` |
26+ | ` LOG_LEVEL ` | ` string ` | ` "INFO" ` | Logging level (TRACE, DEBUG, INFO, SUCCESS, WARNING, ERROR, CRITICAL) | ` "INFO" ` , ` "DEBUG" ` , ` "WARNING" ` , ` "ERROR" ` |
27+ | ` BOT_TOKEN ` | ` string ` | ` "" ` | Discord bot token | ` "FakeDiscordBotTokenBecauseGitHubSecurityIsAnnoying" ` |
28+ | ` POSTGRES_HOST ` | ` string ` | ` "localhost" ` | PostgreSQL host | ` "localhost" ` , ` "tux-postgres" ` , ` "db.example.com" ` |
29+ | ` POSTGRES_PORT ` | ` integer ` | ` 5432 ` | PostgreSQL port | ` 5432 ` , ` 5433 ` |
30+ | ` POSTGRES_DB ` | ` string ` | ` "tuxdb" ` | PostgreSQL database name | ` "tuxdb" ` , ` "tux_production" ` |
31+ | ` POSTGRES_USER ` | ` string ` | ` "tuxuser" ` | PostgreSQL username | ` "tuxuser" ` , ` "tux_admin" ` |
32+ | ` POSTGRES_PASSWORD ` | ` string ` | ` "ChangeThisToAStrongPassword123!" ` | PostgreSQL password | ` "ChangeThisToAStrongPassword123!" ` , ` "SecurePassword456!" ` |
33+ | ` DATABASE_URL ` | ` string ` | ` "" ` | Custom database URL override | ` "postgresql://user:password@localhost:5432/tuxdb" ` |
34+ | ` ALLOW_SYSADMINS_EVAL ` | ` boolean ` | ` false ` | Allow sysadmins to use eval | ` false ` , ` true ` |
3535
3636### BotInfo
3737
0 commit comments