Files
tchivert 7e00218b7a
build / build (push) Successful in 1m47s
add context timeout
2023-09-17 14:44:51 +02:00

20 lines
576 B
YAML

# Docker compose file you can use to run the bot.
# Edit the following environment variables as needed,
# then run `docker compose up -d`
version: '3'
services:
mmai-bot:
image: git.rznet.fr/tchivert/mmai-bot
container_name: mmai-bot
restart: unless-stopped
network_mode: host
environment:
- MATTERMOST_URL=https://mm.example.com
- MATTERMOST_PORT=443
- MATTERMOST_TOKEN=<your bot token>
- MATTERMOST_TEAM=<your mattermost team>
- OLLAMA_URL=http://localhost:11434
- OLLAMA_MODEL=llama2
- OLLAMA_CTX_TIMEOUT=60