From 8d2acbe203d6905c51a28ebe81db7ac90d0df52d Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 6 Dec 2015 21:02:28 +0100 Subject: initialize couchbase service container --- Services/couchbase/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Services/couchbase/docker-compose.yml (limited to 'Services/couchbase/docker-compose.yml') diff --git a/Services/couchbase/docker-compose.yml b/Services/couchbase/docker-compose.yml new file mode 100644 index 0000000..1a23ea5 --- /dev/null +++ b/Services/couchbase/docker-compose.yml @@ -0,0 +1,15 @@ +server: + build: ./ + container_name: "couchbase-server" + mem_limit: 2g + memswap_limit: 3g + cpu_shares: 2 + restart: "on-failure:2" + ports: + - "9271:11211" + environment: + CONTAINER_TYPE: "service" + CONTAINER_SERVICE: "couchbase" + CONTAINER_INSTANCE: "service-couchbase" + volumes: + - "/tmp/container/logs/couchbase:/data/logs/couchbase" \ No newline at end of file -- cgit v1.2.3