top | item 41358489

(no title)

JonAtkinson | 1 year ago

You can configure almost everything using an app.json file.

https://dokku.com/docs/deployment/deployment-tasks/

discuss

order

dewey|1 year ago

I believe they are talking about the Dokku commands that are needed to set up a new Dokku app.

For example for a static site that would be the following:

    dokku apps:create dewey.at
    dokku domains:set dewey.at dewey.at www.dewey.at
    dokku letsencrypt:enable dewey.at
That's also one of my wishes to get improved, currently I just have a long text file where I store them so that if I move servers I can just re-run them if needed.

mdasen|1 year ago

Could you put them in a .sh file and then just run `sh setup_dewey.sh`? Maybe put `&&` between them so that if one fails, it won't keep running through the script?

oezi|1 year ago

Exactely, I was really surprised that dokku isn't all based on storing these commands in a config/script which gets executed every time you change something.