feat(docker-compose): mount local database for persistence
All checks were successful
Docker CI/CD / Docker Build and Push to Docker Hub (push) Successful in 9m16s
All checks were successful
Docker CI/CD / Docker Build and Push to Docker Hub (push) Successful in 9m16s
Added a volume to the `matrix-gptbot` service configuration in `docker-compose.yml`, mounting the local `database.db` file into the container. This change enables persistent storage for the bot's data, ensuring that data is not lost when the container is restarted or redeployed. It enhances data management and allows for more robust operation of the bot service by leveraging persistency. This development is crucial for scenarios requiring data retention across bot updates and system maintenance activities.
This commit is contained in:
parent
ca68ecb282
commit
7745593b91
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ services:
|
||||||
image: kumitterer/matrix-gptbot
|
image: kumitterer/matrix-gptbot
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.ini:/app/config.ini
|
- ./config.ini:/app/config.ini
|
||||||
|
- ./database.db:/app/database.db
|
||||||
|
|
||||||
pantalaimon:
|
pantalaimon:
|
||||||
image: matrixdotorg/pantalaimon
|
image: matrixdotorg/pantalaimon
|
||||||
|
|
Loading…
Reference in a new issue