-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (39 loc) · 1.23 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
services:
mock_rpc:
build:
context: .
dockerfile: mock_rpc.Dockerfile
container_name: strata_dashboards_mock_rpc
ports:
- "8545:8545"
- "8546:8546"
backend:
build:
context: .
dockerfile: backend.Dockerfile
container_name: alpen_dashboards_backend
depends_on:
- mock_rpc
environment:
STRATA_RPC_URL: http://mock_rpc:8545
STRATA_BRIDGE_RPC_URL: http://mock_rpc:8546
BUNDLER_URL: https://bundler.testnet.alpenlabs.io/health
# TODO: Update the following two urls after strata blockscout service includes
# updated user-ops-indexer supporting timestamp-based filtering
USER_OPS_QUERY_URL: https://explorer.testnet.alpenlabs.io/api/v2/proxy/account-abstraction/operations
ACCOUNTS_QUERY_URL: https://explorer.testnet.alpenlabs.io/api/v2/proxy/account-abstraction/accounts
USAGE_STATS_REFETCH_INTERVAL_S: 120
ports:
- "3000:3000"
frontend:
build:
context: .
dockerfile: frontend.Dockerfile
container_name: alpen_dashboards_frontend
depends_on:
- backend
ports:
- "5173:5173"
environment:
VITE_API_BASE_URL: http://localhost:3000
VITE_USAGE_STATS_REFETCH_INTERVAL_S: 60