From 087d6372873a82ea62c724a70b63c9d531c5921d Mon Sep 17 00:00:00 2001 From: George J Padayatti Date: Wed, 26 Aug 2020 21:51:07 +0530 Subject: [PATCH] Exposing cloudagent port for development --- cloud-agent/startup_temp.sh | 12 ++++++++++++ docker-compose.yml | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 cloud-agent/startup_temp.sh diff --git a/cloud-agent/startup_temp.sh b/cloud-agent/startup_temp.sh new file mode 100644 index 0000000..ffe053b --- /dev/null +++ b/cloud-agent/startup_temp.sh @@ -0,0 +1,12 @@ +aca-py start \ + -it http 0.0.0.0 80 \ + -ot http \ + -e $ACAPY_ENDPOINT \ + --label $AGENT_NAME \ + --admin 0.0.0.0 8001 \ + --admin-insecure-mode \ + --auto-accept-requests --auto-ping-connection \ + --genesis-url $GENESIS_URL \ + --wallet-type indy \ + --wallet-name $AGENT_NAME \ + --webhook-url $WEBHOOK_URL \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index f2cc9e5..1ae72c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,8 @@ services: image: georgejpadayatti/aries-cloudagent:0.5.3 command: /bin/bash -c "./startup.sh" container_name: agent1.localhost + ports: + - 8051:8001 environment: AGENT_NAME: Test-Center ACAPY_ENDPOINT: http://agent1.localhost @@ -36,6 +38,8 @@ services: image: georgejpadayatti/aries-cloudagent:0.5.3 command: /bin/bash -c "./startup.sh" container_name: agent2.localhost + ports: + - 8052:8001 environment: AGENT_NAME: Data4Life-User ACAPY_ENDPOINT: http://agent2.localhost @@ -58,6 +62,8 @@ services: image: georgejpadayatti/aries-cloudagent:0.5.3 command: /bin/bash -c "./startup.sh" container_name: agent3.localhost + ports: + - 8053:8001 environment: AGENT_NAME: Travel-Company ACAPY_ENDPOINT: http://agent3.localhost @@ -67,7 +73,7 @@ services: - ./cloud-agent/startup.sh:/home/indy/startup.sh networks: - von_von - + agent3.webhook: image: georgejpadayatti/aries-webhook-interceptor:0.1 container_name: agent3.webhook