From eb3d88b10a0feb302a9fd1ec60a7a92caebb856c Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 29 Nov 2015 04:45:26 +0100 Subject: start reshaping nodejs service --- Services/nodejs/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Services/nodejs/docker-compose.yml (limited to 'Services/nodejs/docker-compose.yml') 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 -- cgit v1.2.3