diff --git a/.dev/compose.backbone.env b/.dev/compose.backbone.env index 116796cae..b1bc18bf6 100644 --- a/.dev/compose.backbone.env +++ b/.dev/compose.backbone.env @@ -1,2 +1 @@ -CONSUMERAPI_TAG=v4.5.0 -ADMINCLI_TAG=v2.2.3 +BACKBONE_VERSION=5.0.0 diff --git a/.dev/compose.backbone.yml b/.dev/compose.backbone.yml index 8e56967fe..ea4ea6f49 100644 --- a/.dev/compose.backbone.yml +++ b/.dev/compose.backbone.yml @@ -1,6 +1,6 @@ services: consumer-api: - image: ghcr.io/nmshd/backbone-consumer-api:${CONSUMERAPI_TAG} + image: ghcr.io/nmshd/backbone-consumer-api:${BACKBONE_VERSION} container_name: consumer-api hostname: consumer-api environment: @@ -20,6 +20,18 @@ services: - source: Config target: app/appsettings.override.json + event-handler-service: + image: ghcr.io/nmshd/backbone-event-handler:${BACKBONE_VERSION} + container_name: event-handler-service + depends_on: + database: + condition: service_started + rabbitmq: + condition: service_started + configs: + - source: Config + target: app/appsettings.override.json + ### infrastructure ### database: @@ -55,17 +67,18 @@ services: ### seeds ### seed-database: + container_name: seed-database image: postgres environment: - PGPASSWORD=Passw0rd - command: /bin/bash -c 'env && apt update -y && apt install -y wget && wget https://raw.githubusercontent.com/nmshd/backbone/capi/${CONSUMERAPI_TAG}/setup-db/setup-postgres.sql -O /setup-postgres.sql && psql -h postgres -U postgres -d enmeshed -f /setup-postgres.sql' + command: /bin/bash -c 'env && apt update -y && apt install -y wget && wget https://raw.githubusercontent.com/nmshd/backbone/${BACKBONE_VERSION}/setup-db/setup-postgres.sql -O /setup-postgres.sql && psql -h postgres -U postgres -d enmeshed -f /setup-postgres.sql' depends_on: database: condition: service_healthy seed-client: container_name: seed-client - image: ghcr.io/nmshd/backbone-admin-cli:${ADMINCLI_TAG} + image: ghcr.io/nmshd/backbone-admin-cli:${BACKBONE_VERSION} depends_on: consumer-api: condition: service_healthy