Skip to content

Commit c7ecde4

Browse files
authored
Ci/upgrade backbone to v5 (#113)
* chore: simplify .env * ci: upgrade backbone to v5
1 parent 603015c commit c7ecde4

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.dev/compose.backbone.env

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
CONSUMERAPI_TAG=v4.5.0
2-
ADMINCLI_TAG=v2.2.3
1+
BACKBONE_VERSION=5.0.0

.dev/compose.backbone.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
consumer-api:
3-
image: ghcr.io/nmshd/backbone-consumer-api:${CONSUMERAPI_TAG}
3+
image: ghcr.io/nmshd/backbone-consumer-api:${BACKBONE_VERSION}
44
container_name: consumer-api
55
hostname: consumer-api
66
environment:
@@ -20,6 +20,18 @@ services:
2020
- source: Config
2121
target: app/appsettings.override.json
2222

23+
event-handler-service:
24+
image: ghcr.io/nmshd/backbone-event-handler:${BACKBONE_VERSION}
25+
container_name: event-handler-service
26+
depends_on:
27+
database:
28+
condition: service_started
29+
rabbitmq:
30+
condition: service_started
31+
configs:
32+
- source: Config
33+
target: app/appsettings.override.json
34+
2335
### infrastructure ###
2436

2537
database:
@@ -55,17 +67,18 @@ services:
5567
### seeds ###
5668

5769
seed-database:
70+
container_name: seed-database
5871
image: postgres
5972
environment:
6073
- PGPASSWORD=Passw0rd
61-
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'
74+
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'
6275
depends_on:
6376
database:
6477
condition: service_healthy
6578

6679
seed-client:
6780
container_name: seed-client
68-
image: ghcr.io/nmshd/backbone-admin-cli:${ADMINCLI_TAG}
81+
image: ghcr.io/nmshd/backbone-admin-cli:${BACKBONE_VERSION}
6982
depends_on:
7083
consumer-api:
7184
condition: service_healthy

0 commit comments

Comments
 (0)