mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-05 23:13:40 +01: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
@ -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…
x
Reference in New Issue
Block a user