Skip to content

Commit

Permalink
Issue #8 Renamed network name to avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
lalc committed Aug 27, 2020
1 parent 087d637 commit ae6ffee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
*Notes* : By default the agents are pointed to indy ledger hosted at https://indy.igrant.io
You can always change this to your ledger of choice by updating *GENESIS_URL* environment variable in docker-compose.yml file

#### Install [aries](https://github.com/darkchylde/aries-playground) ecosystem
1. Clone repository
2. Create a docker network `docker network create von_von` (If not already created)
2. Create a docker network `docker network create aries-playground-nw` (If not already created)
3. Run `docker-compose up`, it will serve:
* agent1.localhost (Agent1 service endpoint)
* agent1.swagger.localhost (Administration API(s) with swagger UI)
Expand All @@ -12,10 +15,6 @@
* agent2.webhook (For capturing webhook events)
* agent3.webhook (For capturing webhook events)

*Notes* : By default the agents are pointed to indy ledger hosted at https://indy.igrant.io

You can always change this to your ledger of choice by updating *GENESIS_URL* environment variable in docker-compose.yml file

#### Webhooks

A webhook interceptor is provided to debug the webhook events. It can be accessed by tailing demo.log file.
Expand Down
16 changes: 8 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
networks:
- von_von
- aries-playground-nw

agent1.localhost:
image: georgejpadayatti/aries-cloudagent:0.5.3
Expand All @@ -24,15 +24,15 @@ services:
volumes:
- ./cloud-agent/startup.sh:/home/indy/startup.sh
networks:
- von_von
- aries-playground-nw

agent1.webhook:
image: georgejpadayatti/aries-webhook-interceptor:0.1
container_name: agent1.webhook
ports:
- 8081:8080
networks:
- von_von
- aries-playground-nw

agent2.localhost:
image: georgejpadayatti/aries-cloudagent:0.5.3
Expand All @@ -48,15 +48,15 @@ services:
volumes:
- ./cloud-agent/startup.sh:/home/indy/startup.sh
networks:
- von_von
- aries-playground-nw

agent2.webhook:
image: georgejpadayatti/aries-webhook-interceptor:0.1
container_name: agent2.webhook
ports:
- 8082:8080
networks:
- von_von
- aries-playground-nw

agent3.localhost:
image: georgejpadayatti/aries-cloudagent:0.5.3
Expand All @@ -72,16 +72,16 @@ services:
volumes:
- ./cloud-agent/startup.sh:/home/indy/startup.sh
networks:
- von_von
- aries-playground-nw

agent3.webhook:
image: georgejpadayatti/aries-webhook-interceptor:0.1
container_name: agent3.webhook
ports:
- 8083:8080
networks:
- von_von
- aries-playground-nw

networks:
von_von:
aries-playground-nw:
external: true

0 comments on commit ae6ffee

Please sign in to comment.