-
Notifications
You must be signed in to change notification settings - Fork 26
/
indexer-compose.yml
98 lines (94 loc) · 3.51 KB
/
indexer-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
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: "3.8"
services:
web:
build:
context: .
dockerfile: Dockerfile.web
ports:
- "8081:8080" # Map the port your web server uses
depends_on:
- db
environment:
INDEXED_CHAINS: ${INDEXED_CHAINS}
PASSPORT_SCORER_ID: ${PASSPORT_SCORER_ID}
STORAGE_DIR: ${STORAGE_DIR}
DEPLOYMENT_ENVIRONMENT: ${DEPLOYMENT_ENVIRONMENT}
PORT: ${PORT}
LOG_LEVEL: ${LOG_LEVEL}
BUILD_TAG: ${BUILD_TAG}
ENABLE_RESOURCE_MONITOR: ${ENABLE_RESOURCE_MONITOR}
ESTIMATES_LINEARQF_WORKER_POOL_SIZE: ${ESTIMATES_LINEARQF_WORKER_POOL_SIZE}
PINO_PRETTY: ${PINO_PRETTY}
IPFS_GATEWAYS: ${IPFS_GATEWAYS}
COINGECKO_API_KEY: ${COINGECKO_API_KEY}
GRAPHILE_LICENSE: ${GRAPHILE_LICENSE}
SEPOLIA_RPC_URL: ${SEPOLIA_RPC_URL}
POLYGON_MUMBAI_RPC_URL: ${POLYGON_MUMBAI_RPC_URL}
AVALANCHE_RPC_URL: ${AVALANCHE_RPC_URL}
OPTIMISM_RPC_URL: ${OPTIMISM_RPC_URL}
SENTRY_DSN: ${SENTRY_DSN}
PGN_TESTNET_RPC_URL: ${PGN_TESTNET_RPC_URL}
ARBITRUM_GOERLI_RPC_URL: ${ARBITRUM_GOERLI_RPC_URL}
FANTOM_RPC_URL: ${FANTOM_RPC_URL}
BASE_RPC_URL: ${BASE_RPC_URL}
PGN_RPC_URL: ${PGN_RPC_URL}
GOERLI_RPC_URL: ${GOERLI_RPC_URL}
AVALANCHE_FUJI_RPC_URL: ${AVALANCHE_FUJI_RPC_URL}
ARBITRUM_RPC_URL: ${ARBITRUM_RPC_URL}
SEI_MAINNET_RPC_URL: ${SEI_MAINNET_RPC_URL}
MAINNET_RPC_URL: ${MAINNET_RPC_URL}
POLYGON_RPC_URL: ${POLYGON_RPC_URL}
METIS_ANDROMEDA_RPC_URL: ${METIS_ANDROMEDA_RPC_URL}
SCROLL_SEPOLIA_RPC_URL: ${SCROLL_SEPOLIA_RPC_URL}
DATABASE_URL: "postgresql://postgres:postgres@db:5432/grants_stack_indexer"
index:
build:
context: .
dockerfile: Dockerfile.index
ports:
- "8080:8080" # Map the port your web server uses
depends_on:
- db
environment:
INDEXED_CHAINS: ${INDEXED_CHAINS}
PASSPORT_SCORER_ID: ${PASSPORT_SCORER_ID}
STORAGE_DIR: ${STORAGE_DIR}
DEPLOYMENT_ENVIRONMENT: ${DEPLOYMENT_ENVIRONMENT}
PORT: ${PORT}
LOG_LEVEL: ${LOG_LEVEL}
BUILD_TAG: ${BUILD_TAG}
ENABLE_RESOURCE_MONITOR: ${ENABLE_RESOURCE_MONITOR}
ESTIMATES_LINEARQF_WORKER_POOL_SIZE: ${ESTIMATES_LINEARQF_WORKER_POOL_SIZE}
PINO_PRETTY: ${PINO_PRETTY}
IPFS_GATEWAYS: ${IPFS_GATEWAYS}
COINGECKO_API_KEY: ${COINGECKO_API_KEY}
GRAPHILE_LICENSE: ${GRAPHILE_LICENSE}
SEPOLIA_RPC_URL: ${SEPOLIA_RPC_URL}
POLYGON_MUMBAI_RPC_URL: ${POLYGON_MUMBAI_RPC_URL}
AVALANCHE_RPC_URL: ${AVALANCHE_RPC_URL}
OPTIMISM_RPC_URL: ${OPTIMISM_RPC_URL}
SENTRY_DSN: ${SENTRY_DSN}
PGN_TESTNET_RPC_URL: ${PGN_TESTNET_RPC_URL}
ARBITRUM_GOERLI_RPC_URL: ${ARBITRUM_GOERLI_RPC_URL}
FANTOM_RPC_URL: ${FANTOM_RPC_URL}
BASE_RPC_URL: ${BASE_RPC_URL}
PGN_RPC_URL: ${PGN_RPC_URL}
GOERLI_RPC_URL: ${GOERLI_RPC_URL}
AVALANCHE_FUJI_RPC_URL: ${AVALANCHE_FUJI_RPC_URL}
ARBITRUM_RPC_URL: ${ARBITRUM_RPC_URL}
SEI_MAINNET_RPC_URL: ${SEI_MAINNET_RPC_URL}
MAINNET_RPC_URL: ${MAINNET_RPC_URL}
POLYGON_RPC_URL: ${POLYGON_RPC_URL}
METIS_ANDROMEDA_RPC_URL: ${METIS_ANDROMEDA_RPC_URL}
SCROLL_SEPOLIA_RPC_URL: ${SCROLL_SEPOLIA_RPC_URL}
DATABASE_URL: "postgresql://postgres:postgres@db:5432/grants_stack_indexer"
db:
image: postgres:15 # Use the version of PostgreSQL you need
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: grants_stack_indexer
volumes:
- db_data:/var/lib/postgresql/data
volumes:
db_data: