chore: add missing env variables

This commit is contained in:
Isaac 2024-01-21 03:06:40 +00:00
parent 876307dbc1
commit 86e93780a0
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33
2 changed files with 3 additions and 0 deletions

View File

@ -39,8 +39,10 @@ services:
DB_PROVIDER: mysql DB_PROVIDER: mysql
HTTP_EXTERNAL: http://127.0.0.1:8169 # change this to your server's external IP (or domain) HTTP_EXTERNAL: http://127.0.0.1:8169 # change this to your server's external IP (or domain)
HTTP_HOST: 0.0.0.0 HTTP_HOST: 0.0.0.0
HTTP_INTERNAL:
HTTP_PORT: 8169 HTTP_PORT: 8169
HTTP_TRUST_PROXY: "false" # set to true if you're using a reverse proxy HTTP_TRUST_PROXY: "false" # set to true if you're using a reverse proxy
INVALIDATE_TOKENS:
OVERRIDE_ARCHIVE: null OVERRIDE_ARCHIVE: null
PUBLIC_BOT: "false" PUBLIC_BOT: "false"
PUBLISH_COMMANDS: "false" PUBLISH_COMMANDS: "false"

View File

@ -23,6 +23,7 @@ const env = {
HTTP_INTERNAL: '', HTTP_INTERNAL: '',
HTTP_PORT: 8169, HTTP_PORT: 8169,
HTTP_TRUST_PROXY: false, HTTP_TRUST_PROXY: false,
INVALIDATE_TOKENS: '',
NODE_ENV: 'production', // not bot-specific NODE_ENV: 'production', // not bot-specific
OVERRIDE_ARCHIVE: '', OVERRIDE_ARCHIVE: '',
PUBLIC_BOT: false, PUBLIC_BOT: false,