summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/docker-compose.yml
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-29 04:45:26 +0100
committerstartxfr <clarue@startx.fr>2015-11-29 04:45:26 +0100
commiteb3d88b10a0feb302a9fd1ec60a7a92caebb856c (patch)
treed5505c96ddd69b6c47cd00bb77f8de0b15012720 /Services/nodejs/docker-compose.yml
parent78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df (diff)
downloadphpmyadmin-eb3d88b10a0feb302a9fd1ec60a7a92caebb856c.tar.gz
phpmyadmin-eb3d88b10a0feb302a9fd1ec60a7a92caebb856c.tar.bz2
phpmyadmin-eb3d88b10a0feb302a9fd1ec60a7a92caebb856c.tar.xz
phpmyadmin-eb3d88b10a0feb302a9fd1ec60a7a92caebb856c.zip
start reshaping nodejs service
Diffstat (limited to 'Services/nodejs/docker-compose.yml')
-rw-r--r--Services/nodejs/docker-compose.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Services/nodejs/docker-compose.yml b/Services/nodejs/docker-compose.yml
new file mode 100644
index 0000000..4f26e53
--- /dev/null
+++ b/Services/nodejs/docker-compose.yml
@@ -0,0 +1,15 @@
+server:
+ build: ./
+# image: sv-nodejs
+ container_name: "nodejs-server"
+ mem_limit: 1g
+ memswap_limit: 1g
+ cpu_shares: 5
+ restart: "on-failure:2"
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "nodejs"
+ CONTAINER_INSTANCE: "service-nodejs"
+ volumes:
+ - "/tmp/container/logs/nodejs:/data/logs/nodejs"
+ - "/tmp/container/nodejs:/data/nodejs" \ No newline at end of file