matrix_chatgpt_bot/compose.yaml
2024-05-08 21:32:04 +08:00

27 lines
824 B
YAML

services:
app:
image: hibobmaster/matrixchatgptbot:latest
container_name: matrix_chatgpt_bot
restart: unless-stopped
# build:
# context: .
# dockerfile: ./Dockerfile
env_file:
- .env
volumes:
# use env file or config.json
# - ./config.json:/app/config.json
# use touch to create empty db file, for persist database only
# manage_db(can be ignored) is for langchain agent, sync_db is for matrix sync database, context.db is for bot chat context
- ./sync_db:/app/sync_db
- ./context.db:/app/context.db
# - ./manage_db:/app/manage_db
# - ./custom_help_message.txt:/app/custom_help_message.txt
# import_keys path
# - ./element-keys.txt:/app/element-keys.txt
networks:
- matrix_network
networks:
matrix_network: