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
```
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:
```bash
docker compose up

View File

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