From 86e93780a0611b65f8e5d5859e17ca3c3f9590cd Mon Sep 17 00:00:00 2001 From: Isaac Date: Sun, 21 Jan 2024 03:06:40 +0000 Subject: [PATCH] chore: add missing env variables --- docker-compose.yml | 2 ++ scripts/preinstall.js | 1 + 2 files changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index cd9db25..44826d4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,8 +39,10 @@ services: DB_PROVIDER: mysql 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_INTERNAL: HTTP_PORT: 8169 HTTP_TRUST_PROXY: "false" # set to true if you're using a reverse proxy + INVALIDATE_TOKENS: OVERRIDE_ARCHIVE: null PUBLIC_BOT: "false" PUBLISH_COMMANDS: "false" diff --git a/scripts/preinstall.js b/scripts/preinstall.js index 4bd6480..9390662 100644 --- a/scripts/preinstall.js +++ b/scripts/preinstall.js @@ -23,6 +23,7 @@ const env = { HTTP_INTERNAL: '', HTTP_PORT: 8169, HTTP_TRUST_PROXY: false, + INVALIDATE_TOKENS: '', NODE_ENV: 'production', // not bot-specific OVERRIDE_ARCHIVE: '', PUBLIC_BOT: false,