Skip to content

Commit

Permalink
[ADD] constraint service support #8
Browse files Browse the repository at this point in the history
  • Loading branch information
anak10thn committed Jan 4, 2017
1 parent 1072336 commit 2f35faa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ module.exports = {
if(cmd.indexOf("memory") >= 0){
arr.push("--limit-memory "+app.memory);
}
if(cmd.indexOf("constraint") >= 0){
arr.push("--constraint "+app.constraint);
}
if(cmd.indexOf("network") >= 0){
if(!stackExec.name) arr.push("--network "+app.network);
}
Expand Down

0 comments on commit 2f35faa

Please sign in to comment.