persist bot db on docker deployment

This commit is contained in:
hibobmaster 2023-03-11 00:38:00 +08:00
parent c3258d2135
commit b0a6352c40
No known key found for this signature in database
GPG Key ID: 316B77D7914D713C

View File

@ -8,6 +8,8 @@ services:
# dockerfile: ./Dockerfile
volumes:
- ./config.json:/app/config.json
# use touch to create an empty file bot, for persist database only
- ./bot:/app/bot
networks:
- matrix_network
# api: