Skip to content

Commit

Permalink
Added profile to build and run all participants at once
Browse files Browse the repository at this point in the history
  • Loading branch information
daku-de committed Jul 11, 2024
1 parent e736b2e commit 23067f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ To run the connectors on your own machine, installing Docker is enough. If you d
To run the code using docker, use the following commands in the `src` folder:

```
sudo docker compose build
sudo docker compose --profile complete build
sudo docker compose --profile <company|taxadvisor|bank> up
```

Or to start all participants at the same time

```
sudo docker compose --profile company --profile taxadvisor --profile bank up
sudo docker compose --profile complete up
```

<br>
Expand Down
9 changes: 9 additions & 0 deletions src/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
dockerfile: company_connector.Dockerfile
profiles:
- company
- complete
ports:
- "19191:19191"
- "19192:19192"
Expand All @@ -20,6 +21,7 @@ services:
dockerfile: tax_advisor_connector.Dockerfile
profiles:
- taxadvisor
- complete
ports:
- "29191:19191"
- "29192:19192"
Expand All @@ -33,6 +35,7 @@ services:
dockerfile: bank_connector.Dockerfile
profiles:
- bank
- complete
ports:
- "39191:19191"
- "39192:19192"
Expand All @@ -46,6 +49,7 @@ services:
dockerfile: company_frontend.Dockerfile
profiles:
- company
- complete
ports:
- "3001:3000"
volumes:
Expand All @@ -57,6 +61,7 @@ services:
dockerfile: tax_advisor_frontend.Dockerfile
profiles:
- taxadvisor
- complete
ports:
- "3002:3000"
volumes:
Expand All @@ -68,6 +73,7 @@ services:
dockerfile: bank_frontend.Dockerfile
profiles:
- bank
- complete
ports:
- "3003:3000"
volumes:
Expand All @@ -79,6 +85,7 @@ services:
dockerfile: company_database.Dockerfile
profiles:
- company
- complete
ports:
- "8081:8080"

Expand All @@ -88,6 +95,7 @@ services:
dockerfile: taxadvisor_database.Dockerfile
profiles:
- taxadvisor
- complete
ports:
- "8082:8080"

Expand All @@ -97,5 +105,6 @@ services:
dockerfile: bank_database.Dockerfile
profiles:
- bank
- complete
ports:
- "8083:8080"

0 comments on commit 23067f2

Please sign in to comment.