Skip to content

Commit

Permalink
Updating services
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Nogueira Jordão committed Jun 25, 2018
1 parent d83367e commit 3a1d7cd
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "cartola-rest-api"]
path = cartola-rest-api
url = https://github.com/dijckstra/cartola-rest-api.git
[submodule "Cartola-Interface"]
path = Cartola-Interface
url = https://github.com/leoribeiro36/Cartola-Interface.git
1 change: 1 addition & 0 deletions Cartola-Interface
Submodule Cartola-Interface added at 764710
2 changes: 1 addition & 1 deletion authentication_middleware
2 changes: 1 addition & 1 deletion cartola-data-scrapper
2 changes: 1 addition & 1 deletion cartola-rest-api
17 changes: 15 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ services:
environment:
MONGO_INITDB_DATABASE: cartola

rest-api:
restapi:
build: ./cartola-rest-api
image: cartolaapi
command: bash -c "sleep 5 && /go/bin/cartola-rest-api"
ports:
- 3011:3000
depends_on:
- mongo
- naming-service
Expand All @@ -26,7 +28,7 @@ services:
image: cartolascrapper
command: bash -c "sleep 10 && /go/bin/cartola-data-scrapper"
depends_on:
- rest-api
- restapi
- naming-service

processor:
Expand All @@ -36,6 +38,7 @@ services:
ports:
- 3000:3000
depends_on:
- restapi
- mongo
- naming-service

Expand All @@ -57,3 +60,13 @@ services:
depends_on:
- naming-service
- login


interface:
build: ./Cartola-Interface
image: frontend
command: bash -c "sleep 10 && npm start"
ports:
- 80:3000
depends_on:
- authentication
2 changes: 1 addition & 1 deletion login
Submodule login updated from 220426 to 52a601

0 comments on commit 3a1d7cd

Please sign in to comment.