Skip to content

Commit

Permalink
attempt to fix hyperledger-labs#61
Browse files Browse the repository at this point in the history
Signed-off-by: Woerner Dominic (RBCH/PJ-IOT) <dominic.woerner2@ch.bosch.com>
  • Loading branch information
Woerner Dominic (RBCH/PJ-IOT) committed Sep 30, 2020
1 parent faeeae6 commit a7eadc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .env-example
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# localhost, ip address, dns name
BPA_HOST=localhost
BPA_PORT=8080
BPA_PROFILE_ENDPOINT=https://${BPA_HOST}/profile.jsonld

# Security Config
BPA_SECURITY_ENABLED=false
Expand All @@ -27,7 +26,7 @@ BPA_DID_PREFIX=did:sov:iil:

# The Ledger Explorer
LEDGER_URL=https://indy-test.bosch-digital.de
BPA_LEDGER_BROWSER=${LEDGER_URL}
BPA_LEDGER_BROWSER=https://indy-test.bosch-digital.de

# Docker image to be used for the business partner (if it doesn't exist, docker-compose attempts to build it)
BPA_DOCKER_IMAGE=myregistry/imagename:mytag
Expand All @@ -54,9 +53,6 @@ AGENT_NAME=ca-aca-py
# Default Docker config
AGENT_HTTP_PORT=8030
AGENT_ADMIN_PORT=8031
AGENT_ENDPOINT=http://${BPA_HOST}:${AGENT_HTTP_PORT}
ACAPY_ADMIN_URL=http://aca-py:${AGENT_ADMIN_PORT}
ACAPY_AGENT_URL=http://aca-py:${AGENT_HTTP_PORT}

# ------------------------------------------------------------
# Postges Wallet
Expand Down
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ services:
BPA_DID_PREFIX: ${BPA_DID_PREFIX}
BPA_BOOTSTRAP_UN: ${BPA_BOOTSTRAP_UN}
BPA_BOOTSTRAP_PW: ${BPA_BOOTSTRAP_PW}
ACAPY_ADMIN_URL: http://aca-py:${AGENT_ADMIN_PORT}
ACAPY_AGENT_URL: http://aca-py:${AGENT_HTTP_PORT}
ports:
- ${BPA_PORT}:${BPA_PORT}
restart: always
Expand Down Expand Up @@ -55,8 +57,8 @@ services:
--plugin aries_cloudagent.messaging.jsonld \
--inbound-transport http '0.0.0.0' ${AGENT_HTTP_PORT} \
--outbound-transport http \
--endpoint ${AGENT_ENDPOINT} \
--profile-endpoint ${BPA_PROFILE_ENDPOINT} \
--endpoint http://${BPA_HOST}:${AGENT_HTTP_PORT} \
--profile-endpoint https://${BPA_HOST}/profile.jsonld \
--webhook-url http://company-agent:${BPA_PORT}/log \
--genesis-url '${LEDGER_URL}/genesis' \
--wallet-type 'indy' \
Expand Down

0 comments on commit a7eadc8

Please sign in to comment.