Skip to content

Commit

Permalink
Merge pull request #230 from uselagoon/lagoon-minimal-keycloak
Browse files Browse the repository at this point in the history
fix: add keycloak migrations container to minimal
  • Loading branch information
tobybellwood authored Mar 25, 2024
2 parents 1198cbf + f0cb445 commit fc986bd
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions test/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
networks:
- default
broker:
image: testlagoon/broker-single:main
image: testlagoon/broker:main
restart: on-failure
networks:
- default
Expand All @@ -18,6 +18,16 @@ services:
depends_on:
- api-db
- keycloak
api-lagoon-migrations:
image: testlagoon/api:main
command: sh -c "./node_modules/.bin/tsc && node -r dotenv-extended/config dist/migrations/lagoon/migration.js"
environment:
- KEYCLOAK_URL=http://172.17.0.1:38088
depends_on:
api-init:
condition: service_completed_successfully # don't start the lagoon migrations until the db migrations is completed
keycloak:
condition: service_started
api:
image: testlagoon/api:main
ports:
Expand All @@ -35,7 +45,7 @@ services:
- S3_BAAS_SECRET_ACCESS_KEY=minio123
- CONSOLE_LOGGING_LEVEL=trace
depends_on:
- api-init
- api-lagoon-migrations
api-redis:
image: testlagoon/api-redis:main
keycloak:
Expand Down

0 comments on commit fc986bd

Please sign in to comment.