From cd5e887248b9f0ec25c96d9842ee20d5ae91fb14 Mon Sep 17 00:00:00 2001 From: abdulhade Date: Mon, 7 Apr 2025 12:46:24 +0300 Subject: [PATCH] Made the host `/files/` directory accessible to the docker `appuser`. --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d17de30..67ddf3d 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,15 @@ After installing dependencies, configure Docker permissions and run the setup sc && bash setup.sh ``` +3. Give the container permission to edit its files: + + ```bash + sudo groupadd -g 2000 dbmiddleware + sudo usermod -aG dbmiddleware $USER + sudo chown -R $USER:dbmiddleware /home/$USER/.db-middleware/files + sudo chmod -R 775 /home/$USER/.db-middleware/files + ``` + --- ## Configuration @@ -118,10 +127,6 @@ Determines how the middleware connects to databases: --- -## Next Steps -- [ ] **Test Your Setup** – Run a sample query to verify functionality. -- [ ] **Configure External Access** – If needed, update firewall and network settings. -- [ ] **Monitor Logs** – Use `docker logs ` to check for issues. For further assistance, refer to the project documentation or open an issue in the repository.