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-03-09 20:26:45 -05:00
|
|
|
restart: always
|
|
|
|
# build:
|
|
|
|
# context: .
|
|
|
|
# dockerfile: ./Dockerfile
|
2023-03-09 10:40:34 -05:00
|
|
|
volumes:
|
2023-03-10 11:13:40 -05:00
|
|
|
- ./config.json:/app/config.json
|
2023-03-10 11:38:00 -05:00
|
|
|
# use touch to create an empty file bot, for persist database only
|
|
|
|
- ./bot:/app/bot
|
2023-03-10 10:45:38 -05:00
|
|
|
networks:
|
|
|
|
- matrix_network
|
|
|
|
# api:
|
|
|
|
# # bing api
|
|
|
|
# image: hibobmaster/node-chatgpt-api:latest
|
|
|
|
# container_name: node-chatgpt-api
|
|
|
|
# restart: always
|
|
|
|
# volumes:
|
|
|
|
# - ./settings.js:/var/chatgpt-api/settings.js
|
|
|
|
# networks:
|
|
|
|
# - matrix_network
|
2023-03-09 20:26:45 -05:00
|
|
|
|
2023-03-10 10:45:38 -05:00
|
|
|
networks:
|
2023-03-10 11:13:40 -05:00
|
|
|
matrix_network:
|