mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
The jq binary doesn't support jsonc, so we can't modify it for testing purposes. Instead, just create an app.json with the correct heroku.postdeploy task.
24 lines
539 B
JSON
24 lines
539 B
JSON
{
|
|
"healthchecks": {
|
|
"web": [
|
|
{
|
|
"attempts": 2,
|
|
"content": "python/http.server",
|
|
"name": "check-1",
|
|
"path": "/",
|
|
"timeout": 5,
|
|
"type": "startup",
|
|
"wait": 2
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"dokku": {
|
|
// this is a comment for the postdeploy script
|
|
"postdeploy": "touch /app/postdeploy.test",
|
|
// this is a comment for the predeploy script
|
|
"predeploy": "touch /app/predeploy.test"
|
|
},
|
|
"postdeploy": "touch /app/heroku-postdeploy.test"
|
|
}
|
|
} |