Created
February 10, 2015 15:22
-
-
Save gullitmiranda/e7c6b9e2dd12f97b59e3 to your computer and use it in GitHub Desktop.
Azkfile.js result of `azk init`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Documentation: http://docs.azk.io/Azkfile.js | |
| */ | |
| // Adds the systems that shape your system | |
| systems({ | |
| umrum: { | |
| // Dependent systems | |
| depends: [], | |
| // More images: http://images.azk.io | |
| image: {"docker": "node:0.10"}, | |
| // Steps to execute before running instances | |
| provision: [ | |
| "npm install", | |
| ], | |
| workdir: "/azk/#{manifest.dir}", | |
| shell: "/bin/bash", | |
| command: "npm start", | |
| wait: {"retry": 20, "timeout": 1000}, | |
| mounts: { | |
| '/azk/#{manifest.dir}': path("."), | |
| }, | |
| scalable: {"default": 2}, | |
| http: { | |
| domains: [ "#{system.name}.#{azk.default_domain}" ] | |
| }, | |
| envs: { | |
| // set instances variables | |
| NODE_ENV: "dev", | |
| }, | |
| }, | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment