-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yaml
64 lines (60 loc) · 1.54 KB
/
docker-compose-dev.yaml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3.7'
services:
mongo:
image: mongo:latest
restart: always
ports:
- 27017:27017
volumes:
- mongo-data:/data/db
indexer:
image: shardlabs/starkgate-bridge-indexer:latest
restart: always
environment:
MONGO_URL: ${MONGO_URL}
NETWORK_ID: ${NETWORK_ID}
FIRST_BLOCK: ${FIRST_BLOCK}
LOGLEVEL: "${LOG_LEVEL}"
RECORD_LOGS: ""
GRAPHQL_URL: ${GRAPHQL_URL}
GRAPHQL_PORT: ${GRAPHQL_PORT}
BUILD_ENV: ${BUILD_ENV}
ports:
- 8080:8080
depends_on:
- mongo
relayer:
build:
context: .
target: development
restart: always
environment:
RELAYER_PORT: ${RELAYER_PORT}
GRAPHQL_URL: ${GRAPHQL_URL}
GRAPHQL_PORT: ${GRAPHQL_PORT}
NETWORK_ID: ${NETWORK_ID}
PRIVATE_KEY: ${PRIVATE_KEY}
MONGO_URL: ${MONGO_URL}
MONGO_INITDB_NAME: ${MONGO_INITDB_NAME}
INFURA_RPC_URL: ${INFURA_RPC_URL}
ALCHEMY_RPC_URL: ${ALCHEMY_RPC_URL}
FIRST_BLOCK: ${FIRST_BLOCK}
INDEXER_URL: ${INDEXER_URL}
RELAYER_L2_ADDRESS: ${RELAYER_L2_ADDRESS}
RPC_URL: ${RPC_URL}
MAX_PRIORITY_FEE_PER_GAS: ${MAX_PRIORITY_FEE_PER_GAS}
ETHERSCAN_API_KEY: ${ETHERSCAN_API_KEY}
DISCORD_WEBHOOK_URL: ${DISCORD_WEBHOOK_URL}
METRICS_PORT: ${METRICS_PORT}
ports:
- '${RELAYER_PORT}:${RELAYER_PORT}'
- '${METRICS_PORT}:${METRICS_PORT}'
volumes:
- .:/app
- /app/node_modules
command: npm run start:debug
depends_on:
- mongo
- indexer
volumes:
mongo-data: