You've already forked mattermost-ai-bot
20 lines
576 B
YAML
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
|