File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# POSTGRES_USER=atlas
33# POSTGRES_PASSWORD=atlas
44
5+ # PostgreSQL connection string.
6+ # When running the full Docker stack: set automatically by docker-compose (do not set here).
7+ # When running the backend locally against a local or Docker Postgres:
8+ # DATABASE_URL=postgres://atlas:atlas@localhost:5432/atlas
9+
510# Required: Your L2 RPC endpoint
611RPC_URL = http://localhost:8545
712
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ just frontend-install
3131Start the backend:
3232
3333``` bash
34- just backend-server
34+ just backend-run
3535```
3636
3737Start frontend:
@@ -59,7 +59,7 @@ Copy `.env.example` to `.env` and set `RPC_URL`. Common options:
5959| Variable | Description | Default |
6060| ----------| -------------| ---------|
6161| ` RPC_URL ` | Ethereum JSON-RPC endpoint | Required |
62- | ` DATABASE_URL ` | PostgreSQL connection string | Set in docker-compose |
62+ | ` DATABASE_URL ` | PostgreSQL connection string | ` postgres://atlas:atlas@localhost:5432/atlas ` (local dev) |
6363| ` START_BLOCK ` | Block to start indexing from | ` 0 ` |
6464| ` BATCH_SIZE ` | Blocks per indexing batch | ` 100 ` |
6565| ` RPC_REQUESTS_PER_SECOND ` | RPC rate limit | ` 100 ` |
Original file line number Diff line number Diff line change 11services :
22 postgres :
33 image : postgres:16-alpine
4+ ports :
5+ - " 5432:5432"
46 environment :
57 POSTGRES_DB : atlas
68 POSTGRES_USER : ${POSTGRES_USER:-atlas}
You can’t perform that action at this time.
0 commit comments