forked from ten-protocol/go-ten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.non-sgx.yml
75 lines (73 loc) · 2.22 KB
/
docker-compose.non-sgx.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
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
version: "3.9"
networks:
default:
name: node_network
services:
host:
networks:
- default
ports:
- "80:80"
- "81:81"
- "6061:6061"
- "10000:10000"
environment:
- MGMTCONTRACTADDR=some_address
- PKSTRING=some_string
- L1HOST=some_host
- L1PORT=some_port
- HOSTID=some_address
- ISGENESIS=some_bool
- NODETYPE=some_string
- PROFILERENABLED=some_bool
- P2PPUBLICADDRESS=some_string
- LOGLEVEL=some_int
image: testnetobscuronet.azurecr.io/obscuronet/host:latest
entrypoint: [
"/home/obscuro/go-obscuro/go/host/main/main",
"--l1NodeHost=$L1HOST",
"--l1NodePort=$L1PORT",
"--enclaveRPCAddresses=enclave:11000",
"--managementContractAddress=$MGMTCONTRACTADDR",
"--privateKey=$PKSTRING",
"--clientRPCHost=0.0.0.0",
"--isGenesis=$ISGENESIS",
"--nodeType=$NODETYPE",
"--logPath=sys_out",
"--logLevel=$LOGLEVEL",
"--profilerEnabled=$PROFILERENABLED",
"--p2pPublicAddress=$P2PPUBLICADDRESS",
"--sequencerID=$SEQUENCERID",
"--messageBusAddress=$MSGBUSCONTRACTADDR"
]
enclave:
networks:
- default
ports:
- "6060:6060"
- "11000:11000"
environment:
- MGMTCONTRACTADDR=some_address
- HOSTID=some_address
- NODETYPE=some_string
- PROFILERENABLED=some_bool
- P2PPUBLICADDRESS=some_string
- LOGLEVEL=some_int
- SEQUENCERID=some_address
image: testnetobscuronet.azurecr.io/obscuronet/enclave:latest
entrypoint: [
"ego", "run", "/home/obscuro/go-obscuro/go/enclave/main/main",
"--hostID=$HOSTID",
"--address=:11000",
"--nodeType=$NODETYPE",
"--useInMemoryDB=false",
"--sqliteDBPath=/data/sqlite.db",
"--managementContractAddress=$MGMTCONTRACTADDR",
"--hostAddress=host:10000",
"--profilerEnabled=$PROFILERENABLED",
"--hostAddress=$P2PPUBLICADDRESS",
"--logPath=sys_out",
"--logLevel=$LOGLEVEL",
"--sequencerID=$SEQUENCERID",
"--messageBusAddress=$MSGBUSCONTRACTADDR"
]