Attempt pre/post again
This commit is contained in:
parent
b48e33ab82
commit
5b2b042030
8
app.json
8
app.json
@ -1,5 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "gitea",
|
"name": "gitea",
|
||||||
"description": "Gitea is a painless self-hosted Git service.",
|
"description": "Gitea is a painless self-hosted Git service.",
|
||||||
"repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku"
|
"repository": "https://gitlab.com/autonomic-cooperative/gitea-dokku",
|
||||||
|
"dokku": {
|
||||||
|
"script": {
|
||||||
|
"predeploy": "gitea migrate",
|
||||||
|
"postdeploy": "gitea admin create-user --username '$ADMIN_USER' --password '$ADMIN_PASS' --email '$ADMIN_MAIL' --admin"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user