From 02450660092e402671b36f03d5b77d349bd4b403 Mon Sep 17 00:00:00 2001 From: chand1012 Date: Fri, 10 May 2024 17:15:32 -0400 Subject: [PATCH] chore: Update docker-compose.yaml with default values for REDIS_URL and PLAYWRIGHT_MICROSERVICE_URL --- docker-compose.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index af6921c..9128042 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,8 +12,8 @@ services: api: build: apps/api environment: - - REDIS_URL=${REDIS_URL} - - PLAYWRIGHT_MICROSERVICE_URL=${PLAYWRIGHT_MICROSERVICE_URL} + - REDIS_URL=${REDIS_URL:-redis://redis:6379} + - PLAYWRIGHT_MICROSERVICE_URL=${PLAYWRIGHT_MICROSERVICE_URL:-http://playwright-service:3000} - USE_DB_AUTHENTICATION=${USE_DB_AUTHENTICATION} - PORT=${PORT} - NUM_WORKERS_PER_QUEUE=${NUM_WORKERS_PER_QUEUE} @@ -41,8 +41,8 @@ services: worker: build: apps/api environment: - - REDIS_URL=${REDIS_URL} - - PLAYWRIGHT_MICROSERVICE_URL=${PLAYWRIGHT_MICROSERVICE_URL} + - REDIS_URL=${REDIS_URL:-redis://redis:6379} + - PLAYWRIGHT_MICROSERVICE_URL=${PLAYWRIGHT_MICROSERVICE_URL:-http://playwright-service:3000} - USE_DB_AUTHENTICATION=${USE_DB_AUTHENTICATION} - PORT=${PORT} - NUM_WORKERS_PER_QUEUE=${NUM_WORKERS_PER_QUEUE} @@ -64,3 +64,7 @@ services: - redis - playwright-service - api + +networks: + default: + name: firecrawl