mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Added depends on to docker-compose.yml
Added the following lines to both scraper and torrentio services
depends_on:
- mongodb
- postgres
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user