diff --git a/servapps/Manyfold/cosmos-compose.json b/servapps/Manyfold/cosmos-compose.json index 8f9870e9..e9a83667 100644 --- a/servapps/Manyfold/cosmos-compose.json +++ b/servapps/Manyfold/cosmos-compose.json @@ -1,4 +1,4 @@ -{ +{ "cosmos-installer": { "form": [ { @@ -34,7 +34,17 @@ "DB_NAME=manyfold", "DB_PASS={Passwords.0}", "DB_PORT=5432" - + ], + "security_opt": [ + "no-new-privileges:true" + ], + "cap_drop": [ + "ALL" + ], + "cap_add": [ + "CHOWN", + "SETGID", + "SETUID" ], "labels": { "cosmos-persistent-env": "SECRET_KEY_BASE, DB_PASS, DB_USER, DB_NAME", @@ -76,7 +86,7 @@ } ] }, - + "{ServiceName}-redis": { "restart": "always", "image": "redis:7-alpine", @@ -101,7 +111,7 @@ } }, - + "{ServiceName}-postgres": { "image": "postgres:15-alpine", "container_name": "{ServiceName}-postgres", @@ -133,7 +143,7 @@ ] } }, - + "networks": { "{ServiceName}-data": { }