Made the host /files/ directory accessible to the docker appuser.
This commit is contained in:
13
README.md
13
README.md
@@ -95,6 +95,15 @@ After installing dependencies, configure Docker permissions and run the setup sc
|
|||||||
&& bash setup.sh
|
&& 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
|
## 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 <container_name>` to check for issues.
|
|
||||||
|
|
||||||
For further assistance, refer to the project documentation or open an issue in the repository.
|
For further assistance, refer to the project documentation or open an issue in the repository.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user