Skip to content

Instantly share code, notes, and snippets.

@zbal
Created October 31, 2014 02:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zbal/60fe043de880f4050db5 to your computer and use it in GitHub Desktop.
Save zbal/60fe043de880f4050db5 to your computer and use it in GitHub Desktop.
# Prepare the app
- run: devops nodejs app add
options:
name: "{{ app_name }}"
root: /opt/{{ app_name }}/bundle
script: main.js
node_env: prod
user: devops
extra_env: >
"PORT=3000
MONGO_URL=mongodb://meteor:{{ nodes.meteor.configuration.mongodb.users.meteor.password }}@localhost:27017/{{ database_name }}
MAIL_URL=smtp://username:password@smtp.mailgun.org:587/
ROOT_URL=http://{{ domain }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment