From 7745593b9106bc8258007c796013eb82f7359d4b Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 23 Apr 2024 17:08:13 +0200 Subject: [PATCH] feat(docker-compose): mount local database for persistence 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. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 127cfe7..0622e74 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: image: kumitterer/matrix-gptbot volumes: - ./config.ini:/app/config.ini + - ./database.db:/app/database.db pantalaimon: image: matrixdotorg/pantalaimon