mirror of
https://github.com/hibobmaster/matrix_chatgpt_bot.git
synced 2024-10-01 05:35:36 -04:00
22 lines
758 B
YAML
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
|