forked from subsquid-quests/double-chain-squid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
29 lines (28 loc) · 1015 Bytes
/
docker-compose.yml
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
version: "3"
services:
db:
image: postgres:15
environment:
POSTGRES_DB: squid
POSTGRES_PASSWORD: postgres
ports:
- "${DB_PORT}:5432"
# command: ["postgres", "-c", "log_statement=all"]
shm_size: 1gb
query-gateway:
image: subsquid/query-gateway:0.1.5
environment:
BOOTSTRAP: "true"
HTTP_LISTEN_ADDR: 0.0.0.0:8000
BOOT_NODES: >
12D3KooWSRvKpvNbsrGbLXGFZV7GYdcrYNh4W2nipwHHMYikzV58 /dns4/testnet.subsquid.io/tcp/22345,
12D3KooWQC9tPzj2ShLn39RFHS5SGbvbP2pEd7bJ61kSW2LwxGSB /dns4/testnet.subsquid.io/tcp/22346,
12D3KooWQER7HEpwsvqSzqzaiV36d3Bn6DZrnwEunnzS76pgZkMU /dns4/testnet.subsquid.io/tcp/32345
RPC_URL: https://arbitrum-goerli.blockpi.network/v1/rpc/public
KEY_PATH: /query-gateway/keys/doubleProc.key
CONFIG_PATH: /query-gateway/config/gateway-config.yml
RUST_LOG: info,query_gateway=debug,ethers_providers=warn
volumes:
- ./query-gateway:/query-gateway
ports:
- "8000:8000"