24 lines
686 B
YAML
24 lines
686 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
|
|
- ./sync_db:/app/sync_db
|
|
# - ./manage_db:/app/manage_db
|
|
# import_keys path
|
|
# - ./element-keys.txt:/app/element-keys.txt
|
|
networks:
|
|
- matrix_network
|
|
|
|
networks:
|
|
matrix_network:
|