-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
49 lines (46 loc) · 1.16 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
41
42
43
44
45
46
47
48
49
version: "3.8"
services:
magnolia:
build:
context: .
dockerfile: ./docker/magnolia/Dockerfile
environment:
# Ethereum address
ETHEREUM_ADDRESS: "http://besu:8545"
# Private key of ethereum account.
ETHEREUM_ACCOUNT: 0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63
# IPFS address
IPFS_ADDRESS: "/dns6/ipfs/tcp/5001/http"
ports:
- 9080:8080
depends_on:
- besu
- ipfs
besu:
build:
context: ./docker/besu
dockerfile: Dockerfile
command: --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-http-cors-origins="all" --host-allowlist="*" --rpc-ws-enabled --rpc-http-enabled
ports:
- 8545:8545
- 8546:8546
ipfs:
image: ipfs/go-ipfs:latest
environment:
IPFS_PROFILE: server
IPFS_LOGGING: info
volumes:
- type: volume
source: ipfs_data
target: /data/ipfs
- type: volume
source: ipfs_export
target: /export
ports:
- "4001:4001"
- "4001:4001/udp"
- "127.0.0.1:8080:8080"
- "127.0.0.1:5001:5001"
volumes:
ipfs_export:
ipfs_data: