Skip to content

Commit

Permalink
fix(prism-agent): didcomm endpoint now exposed in docker file and wit…
Browse files Browse the repository at this point in the history
…h correct path (#241)

* feat(infra): adding dependencies for all application services

* fix(prism-agent): adding port 8090 to prism-agent build.sbt exposed ports
  • Loading branch information
davidpoltorak-io authored Dec 12, 2022
1 parent 9931705 commit 405f367
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions infrastructure/shared/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ services:
ports:
- "${PGADMIN_PORT:-5050}:80"
depends_on:
- db
db:
condition: service_healthy
profiles:
- debug

Expand All @@ -42,6 +43,9 @@ services:
##########################
mediator:
image: ghcr.io/input-output-hk/mercury-mediator:${MERCURY_MEDIATOR_VERSION}
depends_on:
db:
condition: service_healthy

iris:
image: ghcr.io/input-output-hk/iris-service:${IRIS_SERVICE_VERSION}
Expand All @@ -50,6 +54,9 @@ services:
IRIS_DB_PORT: 5432
IRIS_DB_NAME: iris
IRIS_DB_USER: postgres
depends_on:
db:
condition: service_healthy

prism-agent:
image: ghcr.io/input-output-hk/prism-agent:${PRISM_AGENT_VERSION}
Expand All @@ -71,7 +78,7 @@ services:
CONNECT_DB_NAME: connect
CONNECT_DB_USER: postgres
CONNECT_DB_PASSWORD: postgres
DIDCOMM_SERVICE_URL: http://host.docker.internal:${PORT}/didcomm/
DIDCOMM_SERVICE_URL: http://host.docker.internal:${PORT}/didcomm
depends_on:
db:
condition: service_healthy
Expand Down
2 changes: 1 addition & 1 deletion prism-agent/service/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ lazy val server = project
Docker / dockerUsername := Some("input-output-hk"),
Docker / githubOwner := "atala-prism-building-blocks",
Docker / dockerRepository := Some("ghcr.io"),
dockerExposedPorts := Seq(8080, 8085),
dockerExposedPorts := Seq(8080, 8085, 8090),
dockerBaseImage := "openjdk:11"
)
.enablePlugins(OpenApiGeneratorPlugin, JavaAppPackaging, DockerPlugin)
Expand Down

0 comments on commit 405f367

Please sign in to comment.