2023-03-09 10:40:34 -05:00
|
|
|
services:
|
|
|
|
app:
|
2023-03-09 20:26:45 -05:00
|
|
|
image: hibobmaster/matrixchatgptbot:latest
|
2023-03-09 10:40:34 -05:00
|
|
|
container_name: matrix_chatgpt_bot
|
2023-05-29 21:59:25 -04:00
|
|
|
restart: unless-stopped
|
2023-03-09 20:26:45 -05:00
|
|
|
# build:
|
|
|
|
# context: .
|
|
|
|
# dockerfile: ./Dockerfile
|
2023-04-09 22:52:18 -04:00
|
|
|
env_file:
|
|
|
|
- .env
|
2023-03-09 10:40:34 -05:00
|
|
|
volumes:
|
2023-04-09 22:52:18 -04:00
|
|
|
# use env file or config.json
|
|
|
|
# - ./config.json:/app/config.json
|
2023-09-13 03:27:34 -04:00
|
|
|
# use touch to create empty db file, for persist database only
|
2024-04-23 08:18:21 -04:00
|
|
|
# manage_db(can be ignored) is for langchain agent, sync_db is for matrix sync database, context.db is for bot chat context
|
2023-09-13 03:27:34 -04:00
|
|
|
- ./sync_db:/app/sync_db
|
2024-04-23 08:18:21 -04:00
|
|
|
- ./context.db:/app/context.db
|
2023-09-21 00:38:29 -04:00
|
|
|
# - ./manage_db:/app/manage_db
|
2024-05-08 09:30:50 -04:00
|
|
|
# - ./custom_help_message.txt:/app/custom_help_message.txt
|
2023-04-20 03:49:13 -04:00
|
|
|
# import_keys path
|
|
|
|
# - ./element-keys.txt:/app/element-keys.txt
|