mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 06:08:48 +00:00
Giving Read Only rights to homepage
Giving Read Only rights to homepage container. Adding :RO to the docker.sock volume. When the container gets compromised the intruder will have root access basically. The container doesn't need the write privileges. This measure will stop inexperienced people from exposing their docker.socket to the public internet.
This commit is contained in:
parent
2ac06937f9
commit
6705197a35
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ services:
|
|||
- 3000:3000
|
||||
volumes:
|
||||
- /path/to/config:/app/config # Make sure your local config directory exists
|
||||
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
|
||||
```
|
||||
|
||||
or docker run:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue