2023-03-09 15:40:34 +00:00
|
|
|
services:
|
|
|
|
app:
|
2023-03-10 01:26:45 +00:00
|
|
|
image: hibobmaster/matrixchatgptbot:latest
|
2023-03-09 15:40:34 +00:00
|
|
|
container_name: matrix_chatgpt_bot
|
2023-05-30 01:59:25 +00:00
|
|
|
restart: unless-stopped
|
2023-03-10 01:26:45 +00:00
|
|
|
# build:
|
|
|
|
# context: .
|
|
|
|
# dockerfile: ./Dockerfile
|
2023-04-10 02:52:18 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
2023-03-09 15:40:34 +00:00
|
|
|
volumes:
|
2023-04-10 02:52:18 +00:00
|
|
|
# use env file or config.json
|
|
|
|
# - ./config.json:/app/config.json
|
2023-09-13 07:27:34 +00:00
|
|
|
# use touch to create empty db file, for persist database only
|
|
|
|
- ./sync_db:/app/sync_db
|
|
|
|
- ./manage_db:/app/manage_db
|
2023-04-20 07:49:13 +00:00
|
|
|
# import_keys path
|
|
|
|
# - ./element-keys.txt:/app/element-keys.txt
|
2023-03-10 15:45:38 +00:00
|
|
|
networks:
|
|
|
|
- matrix_network
|
2023-05-30 01:59:25 +00:00
|
|
|
|
2023-03-10 15:45:38 +00:00
|
|
|
networks:
|
2023-03-10 16:13:40 +00:00
|
|
|
matrix_network:
|