From eebdc470c2eeab974d9240772e6566ef2f9f83e3 Mon Sep 17 00:00:00 2001 From: Kamesh Sampath Date: Tue, 5 Dec 2023 10:36:27 +0530 Subject: [PATCH] (chore): add todo server and client to docker-compose --- .github/workflows/release.yml | 1 + docker-compose.yml | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08a07e9..ca89490 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ on: permissions: contents: write + # TODO check why enabling this not able to push the image to ghcr.io packages: write # issues: write diff --git a/docker-compose.yml b/docker-compose.yml index 2c094f1..16f211e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -73,7 +73,7 @@ services: - redpanda-0 todo-app: container_name: todo-app-server - image: ghcr.io/kameshsampath/grpc-todo-app/server:v0.0.1 + image: ghcr.io/kameshsampath/grpc-todo-app/server:v0.0.3 networks: - redpanda_network environment: @@ -85,4 +85,13 @@ services: ports: - 9090:9090 depends_on: - - redpanda-0 \ No newline at end of file + - redpanda-0 + todo-list: + container_name: todo-list + image: ghcr.io/kameshsampath/grpc-todo-app/client:v0.0.3 + networks: + - redpanda_network + environment: + - SERVICE_ADDRESS=todo-app-server:9090 + depends_on: + - todo-app \ No newline at end of file