summaryrefslogtreecommitdiffstats
path: root/Services/couchbase/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Services/couchbase/docker-compose.yml')
-rw-r--r--Services/couchbase/docker-compose.yml15
1 files changed, 15 insertions, 0 deletions
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