Skip to content

Instantly share code, notes, and snippets.

@gullitmiranda
Created February 10, 2015 15:22
Show Gist options
  • Select an option

  • Save gullitmiranda/e7c6b9e2dd12f97b59e3 to your computer and use it in GitHub Desktop.

Select an option

Save gullitmiranda/e7c6b9e2dd12f97b59e3 to your computer and use it in GitHub Desktop.
Azkfile.js result of `azk init`
/**
* 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