Merge pull request #10 from trulow/master
Added depends on to docker-compose.yml
This commit is contained in:
commit
85af1bb66d
1 changed files with 7 additions and 1 deletions
|
|
@ -16,6 +16,9 @@ services:
|
|||
scraper:
|
||||
build: ./scraper
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mongodb
|
||||
- postgres
|
||||
environment:
|
||||
- PORT=7001
|
||||
- MONGODB_URI=mongodb://mongodb:27017/torrentio
|
||||
|
|
@ -25,6 +28,9 @@ services:
|
|||
torrentio:
|
||||
build: ./addon
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mongodb
|
||||
- postgres
|
||||
ports:
|
||||
- "7000:7000"
|
||||
environment:
|
||||
|
|
@ -46,4 +52,4 @@ services:
|
|||
|
||||
volumes:
|
||||
mongo-data:
|
||||
postgres-data:
|
||||
postgres-data:
|
||||
|
|
|
|||
Loading…
Reference in a new issue