2023-04-07 17:27:13 -04:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
serge-discord-bot:
|
|
|
|
container_name: serge-discord-bot
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=production
|
|
|
|
## Env Vars for rAi chatbot
|
2023-04-07 18:14:11 -04:00
|
|
|
- TOKEN # Pass the value from .env
|
|
|
|
- PUBLIC_URL
|
2023-04-07 17:27:13 -04:00
|
|
|
- INTERNAL_IP=serge
|
|
|
|
- SERGE_PORT=8008
|
|
|
|
## Default chat settings overrides
|
|
|
|
- MODEL="gpt4all"
|
|
|
|
- TEMPERATURE=0.1
|
|
|
|
- TOPK=50
|
|
|
|
- TOPP=0.95
|
|
|
|
- MAXLENGTH=256
|
|
|
|
- CONTEXTWINDOW=512
|
|
|
|
- REPEATLASTN=64
|
|
|
|
- REPEATPENALTY=1.3
|
|
|
|
- NTHREADS=8
|
|
|
|
# - INITPROMPT="some custom prompt"
|
|
|
|
networks:
|
|
|
|
- serge_default
|
|
|
|
|
|
|
|
networks:
|
|
|
|
serge_default:
|
|
|
|
external: true
|