-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
38 lines (35 loc) · 996 Bytes
/
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
version: '3'
services:
geth:
image: ulamlabs/geth-poa-testnet:latest
environment:
- ETH_PASSWORD=QfdxTYxkwASj
- ETH_PRIVATE_KEY=0d0b4c455973c883bb0fa584f0078178aa90c571a8f1d40f28d2339f4e757dde
- ETH_ADDRESS=0c56352F05De44C9b5BA8bcF9BDEc7e654993339
ports:
- 8178:8178
- 8546:8546
volumes:
- ./genesis.json:/app/genesis.json
blockscout:
image: ulamlabs/blockscout:latest
links:
- geth
- postgres
ports:
- 4000:4000
environment:
- DATABASE_URL=postgresql://postgres:@postgres:5432/postgres?ssl=false
- ETHEREUM_JSONRPC_VARIANT=geth
- ETHEREUM_JSONRPC_HTTP_URL=http://geth:8178
- ETHEREUM_JSONRPC_WS_URL=ws://geth:8546
- MIX_ENV=prod
- BLOCKSCOUT_HOST=localhost
- COIN=eth
- NETWORK=POA
- SUBNETWORK=Local Testnet
postgres:
image: postgres:12
command: postgres -c 'max_connections=500'
environment:
- POSTGRES_HOST_AUTH_METHOD=trust