Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yorkie cluster to docker-compose-full.yml #176

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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