Skip to content

Commit

Permalink
Add yorkie cluster to docker-compose-full.yml (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb authored Apr 5, 2024
1 parent 34e599a commit 8572262
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions backend/docker/docker-compose-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ services:
GITHUB_CALLBACK_URL: "<BACKEND_BASE_URL>/auth/login/github"
JWT_AUTH_SECRET: "JWT_AUTH_SECRET"
FRONTEND_BASE_URL: "FRONTEND_BASE_URL"
YORKIE_API_ADDR: "YORKIE_API_ADDR"
YORKIE_PROJECT_NAME: "YORKIE_PROJECT_NAME"
YORKIE_PROJECT_SECRET_KEY: "YORKIE_PROJECT_SECRET_KEY"
YORKIE_API_ADDR: "http://localhost:8080"
YORKIE_PROJECT_NAME: "admin" # If you want to use the other project, you should change this value
YORKIE_PROJECT_SECRET_KEY: "admin" # If you want to use the other project, you should change this value
ports:
- "3000:3000"
depends_on:
Expand All @@ -23,6 +23,14 @@ services:
links:
- "mongo:mongo"

yorkie:
image: "yorkieteam/yorkie:latest"
command: ["server", "--enable-pprof"]
restart: always
ports:
- "8080:8080"
- "8081:8081"

mongo:
build:
context: ./mongodb_replica
Expand Down

0 comments on commit 8572262

Please sign in to comment.