matrix_chatgpt_bot/compose.yaml
2024-04-23 20:23:02 +08:00

26 lines
759 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
# import_keys path
# - ./element-keys.txt:/app/element-keys.txt
networks:
- matrix_network
networks:
matrix_network: