2024-05-04 15:12:17 -04:00
|
|
|
name: firecrawl
|
|
|
|
version: '3.9'
|
|
|
|
services:
|
|
|
|
playwright-service:
|
|
|
|
build: apps/playwright-service
|
|
|
|
environment:
|
|
|
|
- PORT=3000
|
2024-05-24 11:41:34 -04:00
|
|
|
- PROXY_SERVER=${PROXY_SERVER}
|
|
|
|
- PROXY_USERNAME=${PROXY_USERNAME}
|
|
|
|
- PROXY_PASSWORD=${PROXY_PASSWORD}
|
|
|
|
- BLOCK_MEDIA=${BLOCK_MEDIA}
|
2024-05-10 17:20:33 -04:00
|
|
|
networks:
|
2024-06-19 03:37:10 -04:00
|
|
|
- backend
|
2024-05-04 15:12:17 -04:00
|
|
|
|
|
|
|
api:
|
|
|
|
build: apps/api
|
|
|
|
environment:
|
2024-05-10 17:15:32 -04:00
|
|
|
- REDIS_URL=${REDIS_URL:-redis://redis:6379}
|
|
|
|
- PLAYWRIGHT_MICROSERVICE_URL=${PLAYWRIGHT_MICROSERVICE_URL:-http://playwright-service:3000}
|
2024-05-04 15:12:17 -04:00
|
|
|
- USE_DB_AUTHENTICATION=${USE_DB_AUTHENTICATION}
|
2024-05-10 17:26:00 -04:00
|
|
|
- PORT=${PORT:-3002}
|
2024-05-04 15:12:17 -04:00
|
|
|
- NUM_WORKERS_PER_QUEUE=${NUM_WORKERS_PER_QUEUE}
|
|
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
|
|
- SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL}
|
|
|
|
- SERPER_API_KEY=${SERPER_API_KEY}
|
|
|
|
- LLAMAPARSE_API_KEY=${LLAMAPARSE_API_KEY}
|
|
|
|
- LOGTAIL_KEY=${LOGTAIL_KEY}
|
|
|
|
- BULL_AUTH_KEY=${BULL_AUTH_KEY}
|
|
|
|
- TEST_API_KEY=${TEST_API_KEY}
|
|
|
|
- POSTHOG_API_KEY=${POSTHOG_API_KEY}
|
|
|
|
- POSTHOG_HOST=${POSTHOG_HOST}
|
|
|
|
- SUPABASE_ANON_TOKEN=${SUPABASE_ANON_TOKEN}
|
|
|
|
- SUPABASE_URL=${SUPABASE_URL}
|
|
|
|
- SUPABASE_SERVICE_TOKEN=${SUPABASE_SERVICE_TOKEN}
|
|
|
|
- SCRAPING_BEE_API_KEY=${SCRAPING_BEE_API_KEY}
|
2024-05-10 17:26:00 -04:00
|
|
|
- HOST=${HOST:-0.0.0.0}
|
2024-05-04 15:12:17 -04:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- playwright-service
|
|
|
|
ports:
|
|
|
|
- "3002:3002"
|
|
|
|
command: [ "pnpm", "run", "start:production" ]
|
2024-05-10 17:20:33 -04:00
|
|
|
networks:
|
2024-05-13 12:47:49 -04:00
|
|
|
- backend
|
2024-05-04 15:12:17 -04:00
|
|
|
|
|
|
|
worker:
|
|
|
|
build: apps/api
|
|
|
|
environment:
|
2024-05-10 17:15:32 -04:00
|
|
|
- REDIS_URL=${REDIS_URL:-redis://redis:6379}
|
|
|
|
- PLAYWRIGHT_MICROSERVICE_URL=${PLAYWRIGHT_MICROSERVICE_URL:-http://playwright-service:3000}
|
2024-05-04 15:12:17 -04:00
|
|
|
- USE_DB_AUTHENTICATION=${USE_DB_AUTHENTICATION}
|
2024-05-10 17:26:00 -04:00
|
|
|
- PORT=${PORT:-3002}
|
2024-05-04 15:12:17 -04:00
|
|
|
- NUM_WORKERS_PER_QUEUE=${NUM_WORKERS_PER_QUEUE}
|
|
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
|
|
- SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL}
|
|
|
|
- SERPER_API_KEY=${SERPER_API_KEY}
|
|
|
|
- LLAMAPARSE_API_KEY=${LLAMAPARSE_API_KEY}
|
|
|
|
- LOGTAIL_KEY=${LOGTAIL_KEY}
|
|
|
|
- BULL_AUTH_KEY=${BULL_AUTH_KEY}
|
|
|
|
- TEST_API_KEY=${TEST_API_KEY}
|
|
|
|
- POSTHOG_API_KEY=${POSTHOG_API_KEY}
|
|
|
|
- POSTHOG_HOST=${POSTHOG_HOST}
|
|
|
|
- SUPABASE_ANON_TOKEN=${SUPABASE_ANON_TOKEN}
|
|
|
|
- SUPABASE_URL=${SUPABASE_URL}
|
|
|
|
- SUPABASE_SERVICE_TOKEN=${SUPABASE_SERVICE_TOKEN}
|
|
|
|
- SCRAPING_BEE_API_KEY=${SCRAPING_BEE_API_KEY}
|
2024-05-10 17:26:00 -04:00
|
|
|
- HOST=${HOST:-0.0.0.0}
|
2024-05-04 15:12:17 -04:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- playwright-service
|
2024-05-10 10:38:17 -04:00
|
|
|
- api
|
2024-05-10 17:20:33 -04:00
|
|
|
networks:
|
2024-05-13 12:47:49 -04:00
|
|
|
- backend
|
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
command: redis-server --bind 0.0.0.0
|
2024-05-10 17:15:32 -04:00
|
|
|
|
|
|
|
networks:
|
2024-05-13 12:47:49 -04:00
|
|
|
backend:
|
|
|
|
driver: bridge
|