Allow router to initialize fresh volume ownership
This commit is contained in:
@@ -321,6 +321,10 @@ services:
|
|||||||
networks: [frontend, control, inference]
|
networks: [frontend, control, inference]
|
||||||
security_opt: ["no-new-privileges:true"]
|
security_opt: ["no-new-privileges:true"]
|
||||||
cap_drop: [ALL]
|
cap_drop: [ALL]
|
||||||
|
# The entrypoint fixes ownership of fresh named volumes and immediately
|
||||||
|
# drops to uid/gid 10002 via gosu before starting the router. Without this
|
||||||
|
# narrowly scoped capability a clean installation loops before startup.
|
||||||
|
cap_add: [CHOWN]
|
||||||
depends_on:
|
depends_on:
|
||||||
profile-controller:
|
profile-controller:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user