Skip to content

Commit

Permalink
Added missing instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsideguide committed May 13, 2024
1 parent 5cbce06 commit 4737fe8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
5 changes: 5 additions & 0 deletions SELF_HOST.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 10 additions & 9 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -42,7 +37,7 @@ services:
- "3002:3002"
command: [ "pnpm", "run", "start:production" ]
networks:
- default
- backend

worker:
build: apps/api
Expand Down Expand Up @@ -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

0 comments on commit 4737fe8

Please sign in to comment.