Skip to content

Commit

Permalink
Add dependency to database in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
TomRomeo committed Feb 15, 2024
1 parent 2771200 commit 1366c2a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ services:
dockerfile: services/frontend/Dockerfile
env_file:
- ./backend/.env
depends_on:
- db

user_service:
container_name: kioku-user_service
Expand All @@ -40,6 +42,8 @@ services:
command: /go/src/kioku/services/user/user
env_file:
- ./backend/.env
depends_on:
- db

carddeck_service:
container_name: kioku-carddeck_service
Expand All @@ -65,6 +69,8 @@ services:
command: /go/src/kioku/services/carddeck/carddeck
env_file:
- ./backend/.env
depends_on:
- db

collaboration_service:
container_name: kioku-collaboration_service
Expand All @@ -90,6 +96,8 @@ services:
command: /go/src/kioku/services/collaboration/collaboration
env_file:
- ./backend/.env
depends_on:
- db

srs_service:
container_name: kioku-srs_service
Expand All @@ -115,6 +123,8 @@ services:
command: /go/src/kioku/services/srs/srs
env_file:
- ./backend/.env
depends_on:
- db

notification_service:
container_name: kioku-notification_service
Expand All @@ -140,6 +150,8 @@ services:
command: /go/src/kioku/services/notification/notification
env_file:
- ./backend/.env
depends_on:
- db

frontend:
container_name: kioku-frontend
Expand Down

0 comments on commit 1366c2a

Please sign in to comment.