Feature 57 (config and provisioning): modules declare config and provisions, their files rendered from templates; synced with main (issues of feature 57, 874)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
requirepass ${secret:secret}
|
||||
appendonly yes
|
||||
dir /data
|
||||
@@ -86,7 +86,7 @@
|
||||
"type": "file",
|
||||
"path": "${dir:state}/redis.conf",
|
||||
"mode": "0600",
|
||||
"content": "requirepass ${secret:secret}\nappendonly yes\ndir /data\n",
|
||||
"template": "files/redis.conf",
|
||||
"owner": "999:1000"
|
||||
},
|
||||
{
|
||||
@@ -140,6 +140,11 @@
|
||||
"MESH_PROVISION_REDIS": "127.0.0.1:${port:6379}",
|
||||
"MESH_PROVISION_PASSWORD_FILE": "${dir:state}/default.secret"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user