forked from OffchainLabs/orbit-setup-script
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
45 lines (43 loc) · 1.24 KB
/
docker-compose.yaml
File metadata and controls
45 lines (43 loc) · 1.24 KB
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
version: "3.9"
services:
blockscout:
depends_on:
- nitro
image: offchainlabs/blockscout:v1.0.0-c8db5b1
restart: always
links:
- postgres:database
command:
- /bin/sh
- -c
- |
bin/blockscout eval "Elixir.Explorer.ReleaseTasks.create_and_migrate()"
node init/install.js postgres 5432
bin/blockscout start
environment:
ETHEREUM_JSONRPC_VARIANT: 'geth'
ETHEREUM_JSONRPC_HTTP_URL: http://nitro:8449/
ETHEREUM_JSONRPC_TRACE_URL: http://nitro:8449/
INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER: "true"
DATABASE_URL: postgresql://postgres:@postgres:5432/blockscout
ECTO_USE_SSL: "false"
NETWORK: ""
SUBNETWORK: "Arbitrum Local"
BLOCKSCOUT_VERSION: "Arbitrum 0.0.1"
PORT: 4000
ports:
- "127.0.0.1:4000:4000"
postgres:
image: postgres:13.6
restart: always
environment:
POSTGRES_PASSWORD: ''
POSTGRES_USER: 'postgres'
POSTGRES_HOST_AUTH_METHOD: 'trust'
nitro:
image: offchainlabs/nitro-node:v2.1.0-beta.4-837e45e
ports:
- "127.0.0.1:8449:8449"
volumes:
- "./config:/home/user/.arbitrum"
command: --conf.file /home/user/.arbitrum/nodeConfig.json