Skip to content

Commit

Permalink
Remove dependencies on other services
Browse files Browse the repository at this point in the history
Tilt doesn’t support dependencies so we have to remove them and
manually wait until the community-api is up tilt-dev/tilt#2210 (comment)
  • Loading branch information
rich committed Oct 11, 2022
1 parent b199358 commit 0accfa4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ services:
- SPRING_REDIS_PORT=6379
ports:
- 8080:8080
depends_on:
database:
condition: service_healthy
hmpps-auth:
condition: service_healthy

frontend:
image: quay.io/hmpps/hmpps-approved-premises-ui:latest
Expand All @@ -45,9 +40,6 @@ services:
ports:
- 3000:3000
entrypoint: "node dist/server.js | bunyan"
depends_on:
hmpps-auth:
condition: service_healthy

database:
image: "postgres"
Expand Down Expand Up @@ -85,17 +77,12 @@ services:
- DELIUS_CLIENT_CLIENT-ID=delius-auth-api-client
- DELIUS_CLIENT_CLIENT-SECRET=delius-auth-api-client
- LOGGING_LEVEL_UK_GOV_JUSTICE=debug
depends_on:
community-api:
condition: service_healthy

community-api:
image: quay.io/hmpps/community-api:latest
container_name: community-api
ports:
- "9590:8080"
healthcheck:
test: ["CMD", "wget", "-nv", "-t1", "--spider", "http://localhost:8080/api/health"]
volumes:
- ./seed/community-api:/seed
environment:
Expand Down

0 comments on commit 0accfa4

Please sign in to comment.