Reputation: 8846
I am deploying an app which requires certain ENV vars to be set in order to run (app shuts down if they are not set).
When I try to deploy the app, I get the following error:
-----> Waiting for 10 seconds ...
remote: App container failed to start!!
this is because
Is it possible to set ENV vars when pushing an app for the first time?
I tried to set the ENV vars before I push, but obviously:
ssh dokku@server config:set 00-default FOO=bar
App 00-default does not exist
Additional Information: I would prefer not to put the ENV vars in the procfile, because it is for an open source project. Putting configuration into source control would not be ideal.
Upvotes: 0
Views: 778
Reputation: 2167
dokku apps:create <name>
dokku config:set <name> <ENVS...>
Upvotes: 3