diff options
| -rw-r--r-- | .gitmodules | 3 | ||||
| m--------- | discordbot | 0 | ||||
| -rw-r--r-- | supervisord.conf | 19 |
3 files changed, 22 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 8a05ad0..24447b6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "statscompiler"] path = statscompiler url = https://github.com/vainglorygame/statscompiler +[submodule "discordbot"] + path = discordbot + url = https://github.com/vainglorygame/discordbot diff --git a/discordbot b/discordbot new file mode 160000 +Subproject a0f3717ebee1467a305477613abb5bc0c2cb138 diff --git a/supervisord.conf b/supervisord.conf index 6b16a49..9f913e7 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -52,3 +52,22 @@ environment= POSTGRESQL_DEST_DB=vain_web, POSTGRESQL_DEST_USER=vainweb, POSTGRESQL_DEST_PASSWORD= + + +[program:vainsocial-discordbot] +user=vainsocial +command=/vainsocial/discordbot/venv/bin/python /vainsocial/discordbot/main.py +redirect_stderr=true +stdout_logfile=/vainsocial/logs/discordbot.log +environment= + VAINSOCIAL_DISCORDTOKEN="", + POSTGRESQL_SOURCE_HOST=, + POSTGRESQL_SOURCE_PORT=5433, + POSTGRESQL_SOURCE_DB=vain_raw, + POSTGRESQL_SOURCE_USER=vainraw, + POSTGRESQL_SOURCE_PASSWORD=, + POSTGRESQL_DEST_HOST=, + POSTGRESQL_DEST_PORT=5433, + POSTGRESQL_DEST_DB=vain_web, + POSTGRESQL_DEST_USER=vainweb, + POSTGRESQL_DEST_PASSWORD= |
