Document non-root container, shared login, and data folder permission fix
- PORTAINER_DEPLOY.md: add the chown step needed after the container switched to a non-root user, and note EACCES as the symptom if skipped. - Update CHANGELOG for the shared login, non-root Dockerfile, and cap_drop/no-new-privileges hardening.
This commit is contained in:
@@ -41,6 +41,14 @@ services:
|
||||
networks:
|
||||
- proxy
|
||||
- default
|
||||
# Hardening for a container that's reachable from the public internet
|
||||
# (through Nginx Proxy Manager) and can itself reach the public internet
|
||||
# (api.anthropic.com). Neither of these needs any Linux capability the
|
||||
# app doesn't already have, and the app never needs to escalate privilege.
|
||||
cap_drop:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
||||
Reference in New Issue
Block a user