-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcompose.yaml
More file actions
50 lines (47 loc) · 996 Bytes
/
compose.yaml
File metadata and controls
50 lines (47 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
contracts:
build:
context: packages/local-node
dockerfile: Dockerfile
ports:
- "8545:8545"
networks:
- backend
healthcheck:
test: ["CMD", "test", "-f", "/tmp/anvil-ready"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
indexer:
build:
context: .
dockerfile: Dockerfile.indexer
command:
["npm", "run", "start", "--", "--config", "config/ens.local.config.ts"]
environment:
- DAO_ID=ENS
- NETWORK=anvil
- RPC_URL=http://contracts:8545
- CHAIN_ID=31337
- PORT=42069
depends_on:
contracts:
condition: service_healthy
ports:
- "42069:42069"
networks:
- backend
indexer-db:
image: postgres:16.2
ports:
- "5432:5432"
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: admin
POSTGRES_DB: postgres
networks:
- backend
networks:
backend: