summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/docker-compose.yml
diff options
context:
space:
mode:
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