chore: Update docker-compose.yaml with default values for REDIS_URL and PLAYWRIGHT_MICROSERVICE_URL

This commit is contained in:
chand1012 2024-05-10 17:15:32 -04:00
parent 18480b2005
commit 0245066009
No known key found for this signature in database
GPG Key ID: CCCFE98EEFB1BDD0

View File

@ -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