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:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"module": "showcase",
|
||||
"version": "1",
|
||||
"templates": "templates",
|
||||
"slug": "show",
|
||||
"capabilities": [
|
||||
"container-runtime"
|
||||
@@ -74,6 +75,11 @@
|
||||
"name": "helper",
|
||||
"kind": "upstream",
|
||||
"from": "alpine@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b"
|
||||
},
|
||||
{
|
||||
"name": "templates",
|
||||
"kind": "archive",
|
||||
"from": "templates"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -108,7 +114,7 @@
|
||||
"type": "file",
|
||||
"path": "${dir:state}/showcase.env",
|
||||
"mode": "0600",
|
||||
"content": "SHOWCASE_GREETING=hello\nSHOWCASE_EVERY_SECONDS=30\nSHOWCASE_STATE=/var/lib/showcase\nSHOWCASE_DATABASE=${bound:postgres-database:at}\nSHOWCASE_LISTEN=${port:8080}\n"
|
||||
"template": "templates/showcase.env"
|
||||
},
|
||||
{
|
||||
"id": "packed",
|
||||
|
||||
Reference in New Issue
Block a user