-
Notifications
You must be signed in to change notification settings - Fork 75
/
docker-compose.yaml
105 lines (92 loc) · 2.36 KB
/
docker-compose.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
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
99
100
101
102
103
104
105
version: '3.9'
services:
redis_db:
extends:
file: ./docker-compose/services/redis.yml
service: redis_db
db-init:
extends:
file: ./docker-compose/services/db.yml
service: db-init
db:
depends_on:
db-init:
condition: service_completed_successfully
extends:
file: ./docker-compose/services/db.yml
service: db
backend:
depends_on:
- db
- redis_db
extends:
file: ./docker-compose/services/backend.yml
service: backend
links:
- db:database
environment:
ETHEREUM_JSONRPC_HTTP_URL: http://nitro:8449/
ETHEREUM_JSONRPC_TRACE_URL: http://nitro:8449/
INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: "true"
visualizer:
extends:
file: ./docker-compose/services/visualizer.yml
service: visualizer
sig-provider:
extends:
file: ./docker-compose/services/sig-provider.yml
service: sig-provider
frontend:
depends_on:
- backend
extends:
file: ./docker-compose/services/frontend.yml
service: frontend
environment:
NEXT_PUBLIC_NETWORK_NAME: "Arbitrum Local"
NEXT_PUBLIC_NETWORK_SHORT_NAME: "Arbitrum Local"
NEXT_PUBLIC_AD_BANNER_PROVIDER: "none"
NEXT_PUBLIC_NETWORK_RPC_URL: http://nitro:8449/
stats-db-init:
extends:
file: ./docker-compose/services/stats.yml
service: stats-db-init
stats-db:
depends_on:
stats-db-init:
condition: service_completed_successfully
extends:
file: ./docker-compose/services/stats.yml
service: stats-db
stats:
depends_on:
- stats-db
- backend
extends:
file: ./docker-compose/services/stats.yml
service: stats
proxy:
depends_on:
- backend
- frontend
- stats
extends:
file: ./docker-compose/services/nginx.yml
service: proxy
nitro:
image: offchainlabs/nitro-node:v3.2.1-d81324d
ports:
- "127.0.0.1:8449:8449"
volumes:
- "./config:/home/user/.arbitrum"
command: --conf.file /home/user/.arbitrum/nodeConfig.json
das-server:
image: offchainlabs/nitro-node:v3.2.1-d81324d
entrypoint: [ "/bin/bash", "/das-server.sh" ]
volumes:
- "./config:/home/user/.arbitrum"
- "./das-server.sh:/das-server.sh"
- "./das-data:/home/user/das-data"
ports:
- "9876:9876"
- "9877:9877"