From 85722620668a3328cd02c0d56466666394999379 Mon Sep 17 00:00:00 2001 From: LeeJongBeom <52884648+devleejb@users.noreply.github.com> Date: Fri, 5 Apr 2024 21:26:24 +0900 Subject: [PATCH] Add yorkie cluster to `docker-compose-full.yml` (#176) --- backend/docker/docker-compose-full.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/backend/docker/docker-compose-full.yml b/backend/docker/docker-compose-full.yml index 033257ec..77e6730d 100644 --- a/backend/docker/docker-compose-full.yml +++ b/backend/docker/docker-compose-full.yml @@ -12,9 +12,9 @@ services: GITHUB_CALLBACK_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: @@ -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