Skip to content

Commit

Permalink
add new compose security options for Manyfold (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Jun 20, 2024
1 parent e3c3042 commit 2be6f6e
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions servapps/Manyfold/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"cosmos-installer": {
"form": [
{
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -76,7 +86,7 @@
}
]
},

"{ServiceName}-redis": {
"restart": "always",
"image": "redis:7-alpine",
Expand All @@ -101,7 +111,7 @@
}
},


"{ServiceName}-postgres": {
"image": "postgres:15-alpine",
"container_name": "{ServiceName}-postgres",
Expand Down Expand Up @@ -133,7 +143,7 @@
]
}
},

"networks": {
"{ServiceName}-data": {
}
Expand Down

0 comments on commit 2be6f6e

Please sign in to comment.