Docker Container Setup (#15)

* minor package update and env

* added docker scripts

* added working docker compose

* fixed docker container bridge
This commit is contained in:
Kevin Dang
2024-02-07 09:59:06 -08:00
committed by GitHub
parent 89c19990fa
commit ca6b8c3f9c
13 changed files with 124 additions and 337 deletions

View File

@@ -1,14 +1,18 @@
# Discord token for the bot
CLIENT_TOKEN = INSERT_BOT_TOKEN
CLIENT_TOKEN = BOT_TOKEN
# id token of a discord server
GUILD_ID = INSERT_GUILD_ID
GUILD_ID = GUILD_ID
# Channel where the bot listens to messages
CHANNEL_ID = INSERT_CHANNEL_ID
CHANNEL_ID = CHANNEL_ID
# model for the bot to query from (i.e. llama2 [llama2:13b], mistral, ... )
MODEL = INSERT_MODEL_NAME
MODEL = MODEL_NAME
# discord bot user id for mentions
BOT_UID = INSERT_BOT_USER_ID
CLIENT_UID = BOT_USER_ID
# ip address of docker container, this will have to be found manually (docker can also change it too)
OLLAMA_IP = IP_ADDRESS
OLLAMA_PORT = PORT