-
Notifications
You must be signed in to change notification settings - Fork 586
Dokku
meteor-buildpack-horse
is written and maintained primarily for heroku, but many people have success using it with Dokku as well. Here are steps for getting started with Dokku:
-
Create
.buildpacks
file and puthttps://github.com/AdmitHub/meteor-buildpack-horse.git
in it. -
Configure dokku app on your server: - Create mongo instance
dokku mongo:create my-mongo
- Link mongo to your appdokku mongo:link my-mongo my-app
- SetROOT_URL
variable:dokku config:set my-app ROOT_URL=http://my-app.dokkuhost.com
- You are good to push.git push dokku
-
Configure settings. Meteor can load settings in two ways. Please update this wiki!
- For production configure another variableMETEOR_SETTINGS
:dokku config:set my-app METEOR_SETTINGS="$(cat whatever.json)"
- For development use `--settings somefile.json` argument.
You can see more info here: https://github.com/meteor/meteor/issues/1116
Note: Since dokku is using herokuish, most likely you will be able to use instructions above with other PaaSs that uses herokuish too.