Configuring the Meteor Buildpack

This buildpack will be automatically downloaded each time you deploy, ensuring you've got the latest version available.

Register the dokku-meteor plugin:

dokku plugin:install https://github.com/JarnoLeConte/dokku-meteor.git

This plugin will look for the presence of /home/dokku/my-app-name/meteor-settings.json and will attempt to load it at runtime. You can either connect to the server and write the file at the above path or you can use the scp command to secure copy from your local machine.

Configuring Meteor Settings

If you create a/home/dokku/my-app-name/meteor-settings.json on the server, it will be picked up during the startup phase. This is preferred to storing sensitive values in your source code repository.

Configuring SSL

Set up SSL as described here. During testing, you can use a self-signed cert.

Deploying

FAQs / Troubleshooting

Are there faster alternatives?

You can use a Dockerfile approach to bundle and deploy your artifacts as a Docker image either locally or in a CI environment and then reference this image when deploying to Dokku. Also, larger machines (with at least 2 cores) will get you much better build times.