-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
It would be good to enable some options to only apply on first push / or perhaps if they don't already exist. (as per discussion here dokku/dokku#2269)
Env vars are mentioned as an issue, but dokku-require doesn't specifically support env vars. However having a 'firstpush' option could be useful in general.
Dokku may add something to core for this, but here could be a good place to experiment with the feature.
eg.
"dokku":{
"plugins":[
{
"name":"mariadb",
"firstpush":true,
"commands":["mariadb:create mydb","mariadb:link mydb $APP"]
}
]
}Reactions are currently unavailable