meteor #1

Supports: trusty


Deploy a Meteor ( app from source control (git or hg).


This charm deploys a Meteor application.

You can deploy your own app by providing a Git or Mercurial repo url, or you can deploy any of the five built-in demo apps.


The quickest way to get started is to deploy the charm with the default configuration:

juju deploy meteor
juju deploy mongodb
juju add-relation meteor mongodb
juju expose meteor

Alternatively, you can deploy behind HAProxy:

juju deploy meteor
juju deploy mongodb
juju deploy haproxy
juju add-relation meteor mongodb
juju add-relation meteor haproxy
juju expose haproxy

After deploying with the default configuration, the "todos" demo app will be accessible over http on the public ip and port of the exposed service. Use juju status to find the public ip and port.

Deploying Demo Apps

To run a different demo app, try any of the following:

juju set meteor demo-app=leaderboard
juju set meteor demo-app=wordplay
juju set meteor demo-app=parties
juju set meteor demo-app=clock
juju set meteor demo-app=todos

Deploying from Git or Mercurial

To run your own app, you must provide a Git or Mercurial clone url, e.g.:

juju set meteor repo-type=git repo-url=
juju set meteor repo-type=hg repo-url=

If you push new changes to your repo, you can update the running app to the new version:

juju set meteor repo-revision=39a85df

The revision can be a branch name, tag name, or commit hash.

Contact Information


(string) Name of your app.
(boolean) Set to true if the source repo contains an already-bundled Meteor app. If set to true, your repo must contain a top-level `bundle/` directory.
(string) The name of the Meteor demo app to install (leaderboard, todos, wordplay, clock, parties). This setting is ignored if repo-url is set.
(int) Port on which the Meteor app will be exposed.
(string) Branch name, tag name, or other revision identifier that can be used in a `git checkout` or `hg update` command. Default is `master` (git) or `default` (hg).
(string) git or hg
(string) Git or Mercurial repo URL from which the Meteor app will be cloned. Leave blank to install a Meteor demo app instead.