-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-b.yaml
55 lines (52 loc) · 1.52 KB
/
docker-compose-b.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
version: "3.1"
services:
ipfs:
image: ipfs/go-ipfs:v0.22.0
container_name: ipfs
network_mode: host
volumes:
- .ipfs_data:/data/ipfs
- .ipfs:/ipfs/config
environment:
IPFS_SWARM_KEY_FILE: /ipfs/config/swarm.key
entrypoint: []
command: sh -c "/ipfs/config/start_ipfs daemon --migrate --enable-pubsub-experiment"
parent-instance-client:
image: tearust/parent-instance-client:beta-4.22
container_name: client
network_mode: host
volumes:
- .log:/log
- .tokenstate:/tokenstate
- .libp2p:/libp2p
- ./genesis.json:/tearust/data/genesis.json
- .nitro:/nitro
environment:
ENCLAVE_CID: 6
NITRO_PROXY_PORT: 8001
AWS_REGION: "ap-northeast-2"
NITRO_KEY_ID: ${NITRO_KEY_ID}
LOG_FILE: /log/output.log
NITRO_KEYS_PATH: /nitro/key
GENESIS_CONFIG_PATH: /tearust/data/genesis.json
TEA_ID: "${TEA_ID}"
MACHINE_OWNER: "${MACHINE_OWNER}"
STARTUP_PROOF: "${STARTUP_PROOF}"
LIBP2P_NODE_KEY_PATH: /libp2p/key
LIBP2P_BOOTNODES: ${LIBP2P_BOOTNODES}
LIBP2P_SUPPORTED_PROTOCOLS: tea-0.15
LIBP2P_AGENT_PROTOCOL: tea-0.15
LIBP2P_VERSION: 0.15
STATE_MAGIC_NUMBER: 200
PERSIST_PATH: /tokenstate/persist
IPFS_URL_BASE: http://localhost:5001
RUST_BACKTRACE: full
MALLOC_CONF: prof:true
WAIT_HOSTS: localhost:5001
WAIT_TIMEOUT: 300
WAIT_SLEEP_INTERVAL: 5
logging:
driver: json-file
options:
max-size: 50m
max-file: 5