Skip to content

Commit

Permalink
feat: add docker compose profiles for more granularity on service sel…
Browse files Browse the repository at this point in the history
…ection

fix: configure compose profiles in docker compose testing workflow
  • Loading branch information
mikeplotean committed Jan 20, 2025
1 parent 8f99a94 commit 9d097a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-compose-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Run stack
run: |
cd ./docker-compose
docker compose --profile all up wallet-api issuer-api verifier-api --build -d
docker compose --profile services --profile tse up --build -d
- name: Ping services
timeout-minutes: 5
run: |
Expand Down
10 changes: 7 additions & 3 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ services:
wallet-api:
image: docker.io/waltid/wallet-api:${VERSION_TAG:-latest}
profiles:
- services
- identity
- all
pull_policy: always
Expand All @@ -27,6 +28,7 @@ services:
platform: linux/x86_64
image: docker.io/waltid/issuer-api:${VERSION_TAG:-latest}
profiles:
- services
- identity
- all
pull_policy: always
Expand All @@ -44,6 +46,7 @@ services:
platform: linux/x86_64
image: docker.io/waltid/verifier-api:${VERSION_TAG:-latest}
profiles:
- services
- identity
- all
pull_policy: always
Expand All @@ -60,6 +63,7 @@ services:
waltid-demo-wallet:
image: docker.io/waltid/waltid-demo-wallet:${VERSION_TAG:-latest}
profiles:
- apps
- identity
- all
pull_policy: always
Expand All @@ -77,6 +81,7 @@ services:
waltid-dev-wallet:
image: docker.io/waltid/waltid-dev-wallet:${VERSION_TAG:-latest}
profiles:
- apps
- identity
- all
pull_policy: always
Expand All @@ -95,6 +100,7 @@ services:
platform: linux/x86_64
image: docker.io/waltid/portal:${VERSION_TAG:-latest}
profiles:
- apps
- identity
- all
pull_policy: always
Expand All @@ -114,6 +120,7 @@ services:
platform: linux/x86_64
image: docker.io/waltid/vc-repository:latest
profiles:
- services
- identity
- all
pull_policy: always
Expand All @@ -124,9 +131,6 @@ services:

postgres:
image: postgres
profiles:
- identity
- all
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-U", "$DB_USERNAME" ]
interval: 5s
Expand Down

0 comments on commit 9d097a6

Please sign in to comment.