From 78d1d5017e8acbc8b4bb7f0f567d10f0e47a75df Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 29 Nov 2015 00:44:42 +0100 Subject: rewrite mongo and small updates in others --- Services/mongo/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Services/mongo/docker-compose.yml (limited to 'Services/mongo/docker-compose.yml') diff --git a/Services/mongo/docker-compose.yml b/Services/mongo/docker-compose.yml new file mode 100644 index 0000000..3c6a790 --- /dev/null +++ b/Services/mongo/docker-compose.yml @@ -0,0 +1,15 @@ +server: + build: ./ +# image: sx-mongo + container_name: "sx-mongo" + mem_limit: 2g + memswap_limit: 2g + cpu_shares: 10 + restart: "on-failure:2" + environment: + CONTAINER_TYPE: "service" + CONTAINER_SERVICE: "mongo" + CONTAINER_INSTANCE: "sx-mongo" + volumes: + - "/tmp/container/logs/mongodb:/data/logs/mongodb" + - "/tmp/container/mongodb:/data/mongodb" \ No newline at end of file -- cgit v1.2.3