Skip to content

Commit

Permalink
#74 - testing bootCompose.sh using pre-built image
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoluis-pdm committed Jun 1, 2022
1 parent 818999b commit 99722b0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docker/api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ version: "2.3"
x-participant-def:
&participant-def
restart: "unless-stopped"
build:
context: ../api
# Uncomment build+context to build from git master. See also fgt-workspace below (which may share the same image).
# Uncomment image to use pre-built image.
#build:
# context: ../api
image: joaoluispdm/pharmaledger-imi-fgt:v0.9.6
healthcheck:
test: [ "CMD", "curl", "--fail", "http://localhost:3009" ] # looks for the swagger instance, the last thing to boot
interval: 20s
Expand Down Expand Up @@ -95,8 +98,11 @@ services:

fgt-workspace:
container_name: fgt-workspace
build:
context: ../api/traceability
# Uncomment build to build from git master.
# Uncomment image to use pre-built image.
#build:
# context: ../api/traceability
image: joaoluispdm/pharmaledger-imi-fgt:v0.9.6
hostname: fgt-workspace
restart: "unless-stopped"
labels:
Expand Down

0 comments on commit 99722b0

Please sign in to comment.