Skip to content

Commit

Permalink
(chore): add todo server and client to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
kameshsampath committed Dec 5, 2023
1 parent 307cc67 commit eebdc47
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
13 changes: 11 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -85,4 +85,13 @@ services:
ports:
- 9090:9090
depends_on:
- redpanda-0
- 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

0 comments on commit eebdc47

Please sign in to comment.