-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 1.24 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: "3.8"
services:
couchbase-server:
build: ./couchbase-server
ports:
- 8091-8096:8091-8096
- 11210:11210
environment:
- CLUSTER_NAME=couchbase-demo
- COUCHBASE_ADMINISTRATOR_USERNAME=Administrator
- COUCHBASE_ADMINISTRATOR_PASSWORD=P@$$w0rd12
- COUCHBASE_BUCKET=projects
- COUCHBASE_BUCKET_RAMSIZE=512
- COUCHBASE_RBAC_USERNAME=admin
- COUCHBASE_RBAC_PASSWORD=P@$$w0rd
- COUCHBASE_RBAC_NAME=admin
- COUCHBASE_RAM_SIZE=2048
- COUCHBASE_EVENTING_RAM_SIZE=512
- COUCHBASE_INDEX_RAM_SIZE=512
hostname: couchbase-server
container_name: couchbase-server
working_dir: /opt/couchbase
stdin_open: true
tty: true
networks:
- workshop
entrypoint: [""]
command: sh -c "/opt/couchbase/init/init-cbserver.sh"
sync-gateway:
build: ./sync-gateway
ports:
- 4984-4986:4984-4986
hostname: sync-gateway
container_name: sync-gateway
depends_on:
- couchbase-server
working_dir: /docker-syncgateway
stdin_open: true
tty: true
networks:
- workshop
entrypoint: [""]
command: sh -c "/opt/couchbase-sync-gateway/init/init-syncgateway.sh"
networks:
workshop:
driver: bridge