matrix_chatgpt_bot/compose.yaml

25 lines
686 B
YAML
Raw Permalink Normal View History

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
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
2023-09-21 00:38:29 -04:00
# manage_db(can be ignored) is for langchain agent, sync_db is for matrix sync database
2023-09-13 03:27:34 -04:00
- ./sync_db:/app/sync_db
2023-09-21 00:38:29 -04:00
# - ./manage_db:/app/manage_db
2023-04-20 03:49:13 -04:00
# import_keys path
# - ./element-keys.txt:/app/element-keys.txt
2023-03-10 10:45:38 -05:00
networks:
- matrix_network
2023-03-10 10:45:38 -05:00
networks:
2023-03-10 11:13:40 -05:00
matrix_network: