Merge pull request #10 from trulow/master

Added depends on to docker-compose.yml
This commit is contained in:
Gabisonfire
2024-01-28 16:37:12 -05:00
committed by GitHub

View File

@@ -16,6 +16,9 @@ services:
scraper: scraper:
build: ./scraper build: ./scraper
restart: unless-stopped restart: unless-stopped
depends_on:
- mongodb
- postgres
environment: environment:
- PORT=7001 - PORT=7001
- MONGODB_URI=mongodb://mongodb:27017/torrentio - MONGODB_URI=mongodb://mongodb:27017/torrentio
@@ -25,6 +28,9 @@ services:
torrentio: torrentio:
build: ./addon build: ./addon
restart: unless-stopped restart: unless-stopped
depends_on:
- mongodb
- postgres
ports: ports:
- "7000:7000" - "7000:7000"
environment: environment:
@@ -46,4 +52,4 @@ services:
volumes: volumes:
mongo-data: mongo-data:
postgres-data: postgres-data: