Skip to content
Asad Dhamani edited this page Mar 17, 2017 · 7 revisions

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:

  1. Create .buildpacks file and put https://github.com/AdmitHub/meteor-buildpack-horse.git in it.

  2. Configure dokku app on your server: - Create mongo instance dokku mongo:create my-mongo - Link mongo to your app dokku mongo:link my-mongo my-app - Set ROOT_URL variable: dokku config:set my-app ROOT_URL=http://my-app.dokkuhost.com - You are good to push. git push dokku

  3. Configure settings. Meteor can load settings in two ways. Please update this wiki!
    - For production configure another variable METEOR_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.

Clone this wiki locally