Files
dokku/tests/apps/dockerfile/app.json
Jose Diaz-Gonzalez 3ba51725be fix(tests): adapt app.json fixtures and tini test for env processing
Pre-set LOCAL_DOMAIN in the tini test so mastodon's required env var
resolves, and replace unsupported `generator: "echo 5"` with `value: "5"`
in the nodejs-express and dockerfile fixtures so WEB_CONCURRENCY no
longer aborts deploys via the new app.json env processor.
2026-04-26 22:43:32 -04:00

46 lines
1.1 KiB
JSON

{
"addons": [
"dokku-postgres",
"dokku-redis"
],
"description": "Used in dokku's test suite",
"env": {
"SECRET_TOKEN": {
"description": "A secret key for verifying the integrity of signed cookies.",
"value": "secret"
},
"WEB_CONCURRENCY": {
"description": "The number of processes to run.",
"value": "5"
}
},
"healthchecks": {
"web": [
{
"attempts": 2,
"content": "Hello World!",
"name": "check-1",
"path": "/",
"timeout": 5,
"type": "startup",
"wait": 2
}
]
},
"image": "gliderlabs/herokuish:latest-24",
"keywords": [
"nodejs",
"express",
"testing"
],
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
"name": "Sample node.js express app",
"repository": "https://github.com/dokku/dokku",
"scripts": {
"dokku": {
"postdeploy": "mkdir -p /app \u0026\u0026 touch /app/postdeploy.test",
"predeploy": "mkdir -p /app \u0026\u0026 touch /app/predeploy.test"
}
},
"website": "https://dokku.com/docs/"
}