Skip to content

Commit

Permalink
Merge pull request #5 from couchbase-examples/update-docker-compose-c…
Browse files Browse the repository at this point in the history
…onfig

Updated docker compose file
  • Loading branch information
biozal authored Aug 28, 2023
2 parents 5113f4e + eee1b44 commit 693dd96
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: "3.8"
services:

couchbase-server:
build: ./couchbase-server
couchbase-server-ios-userprofile:
build: ./src/couchbase-server
ports:
- 8091-8097:8091-8097
- 9123:9123
Expand All @@ -22,7 +22,7 @@ services:
- COUCHBASE_RAM_SIZE=2048
- COUCHBASE_INDEX_RAM_SIZE=512
hostname: couchbase-server
container_name: couchbase-server
container_name: couchbase-server-ios-userprofile
working_dir: /opt/couchbase
stdin_open: true
tty: true
Expand All @@ -31,14 +31,14 @@ services:
entrypoint: [""]
command: sh -c "/opt/couchbase/init/init-cbserver.sh"

sync-gateway:
build: ./sync-gateway
sync-gateway-ios-userprofile:
build: ./src/sync-gateway
ports:
- 4984-4986:4984-4986
hostname: sync-gateway
container_name: sync-gateway
container_name: sync-gateway-ios-userprofile
depends_on:
- couchbase-server
- couchbase-server-ios-userprofile
working_dir: /docker-syncgateway
stdin_open: true
tty: true
Expand Down

0 comments on commit 693dd96

Please sign in to comment.