matrix_chatgpt_bot/compose.yaml
hibobmaster 5f9fb321fb
🔖 1.8.0
2024-06-22 13:03:31 +08:00

22 lines
758 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