Skip to content

Commit

Permalink
mongo db started fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankbrgowda committed Mar 15, 2024
1 parent fbb6793 commit 7716b98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ services:
image: mongo
volumes:
- mongodb-volume:/data/db
command: --replSet rs0
command: ["--replSet", "rs0", "--port", "27017"]
ports:
- 27017:27017

# this container will exit after initializing the replica set
mongodb-init:
Expand Down
4 changes: 2 additions & 2 deletions docker/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"internetAccountId": "apolloInternetAccount",
"name": "Demo Server",
"description": "A server hosting a small fictional organism to demonstrate Apollo capabilities",
"domains": ["localhost"],
"baseURL": "http://localhost"
"domains": ["localhost:3999"],
"baseURL": "http://localhost:3999"
}
],
"defaultSession": {
Expand Down

0 comments on commit 7716b98

Please sign in to comment.