* add redis container * Updated Guides and Goals (#134) * Update README.md * Update commands-guide.md * Update events-guide.md * Update commands-guide.md * Added: redis client * Fixed: redis mock in commands.test.ts * Updated: npm package patches * Fixed: redis ip name in keys.ts * update Node LTS version, workflow env vars * Updated: node package engine requirements * Updated: documentation * fix: upgrade dotenv from 16.4.5 to 16.4.7 (#152) Snyk has created this PR to upgrade dotenv from 16.4.5 to 16.4.7. See this package in npm: dotenv See this project in Snyk: https://app.snyk.io/org/jt2m0l3y/project/d8b070a3-e4a3-457a-977b-7eb6a4a48346?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <snyk-bot@snyk.io> * Update: docs patches, connection ordering --------- Co-authored-by: snyk-bot <snyk-bot@snyk.io>
19 lines
486 B
Plaintext
19 lines
486 B
Plaintext
# Discord token for the bot
|
|
CLIENT_TOKEN = BOT_TOKEN
|
|
|
|
# Default model for new users
|
|
MODEL = DEFAULT_MODEL
|
|
|
|
# ip/port address of docker container, I use 172.18.0.3 for docker, 127.0.0.1 for local
|
|
OLLAMA_IP = IP_ADDRESS
|
|
OLLAMA_PORT = PORT
|
|
|
|
# ip address for discord bot container, I use 172.18.0.2, use different IP than ollama_ip
|
|
DISCORD_IP = IP_ADDRESS
|
|
|
|
# subnet address, ex. 172.18.0.0 as we use /16.
|
|
SUBNET_ADDRESS = ADDRESS
|
|
|
|
# redis port and ip
|
|
REDIS_IP = IP_ADDRESS
|
|
REDIS_PORT = PORT |