0

Added missing instruction

This commit is contained in:
rafaelsideguide 2024-05-13 13:47:49 -03:00
parent 5cbce060ed
commit 4737fe8711
2 changed files with 15 additions and 9 deletions

View File

@ -14,6 +14,11 @@ For running the simplest version of FireCrawl, edit the `USE_DB_AUTHENTICATION`
USE_DB_AUTHENTICATION=false USE_DB_AUTHENTICATION=false
``` ```
Update the Redis URL in the .env file to align with the Docker configuration:
```yml
REDIS_URL=redis://redis:6379
```
Once that's complete, you can simply run the following commands to get started: Once that's complete, you can simply run the following commands to get started:
```bash ```bash
docker compose up docker compose up

View File

@ -1,17 +1,12 @@
name: firecrawl name: firecrawl
version: '3.9' version: '3.9'
services: services:
redis:
image: redis:alpine
networks:
- default
playwright-service: playwright-service:
build: apps/playwright-service build: apps/playwright-service
environment: environment:
- PORT=3000 - PORT=3000
networks: networks:
- default - backend
api: api:
build: apps/api build: apps/api
@ -42,7 +37,7 @@ services:
- "3002:3002" - "3002:3002"
command: [ "pnpm", "run", "start:production" ] command: [ "pnpm", "run", "start:production" ]
networks: networks:
- default - backend
worker: worker:
build: apps/api build: apps/api
@ -71,7 +66,13 @@ services:
- playwright-service - playwright-service
- api - api
networks: networks:
- default - backend
redis:
image: redis:alpine
networks:
- backend
command: redis-server --bind 0.0.0.0
networks: networks:
default: backend:
driver: bridge