-
Notifications
You must be signed in to change notification settings - Fork 37
/
docker-compose.debug.yml
81 lines (80 loc) · 2.2 KB
/
docker-compose.debug.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
76
77
78
79
80
81
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
- 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",
"--messageBusContractAddress=$MSGBUSCONTRACTADDR",
"--privateKey=$PKSTRING",
"--clientRPCHost=0.0.0.0",
"--isGenesis=$ISGENESIS",
"--nodeType=$NODETYPE",
"--logLevel=$LOGLEVEL",
"--logPath=sys_out",
"--profilerEnabled=$PROFILERENABLED",
"--p2pPublicAddress=$P2PPUBLICADDRESS",
"--sequencerID=$SEQUENCERID"
]
enclave:
networks:
- default
ports:
- "6060:6060"
- "2345:2345"
- "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_debug:latest
entrypoint: [
"dlv",
"--listen=:2345",
"--headless=true",
"--log=true",
"--api-version=2",
"debug",
"/home/obscuro/go-obscuro/go/enclave/main",
"--",
"--hostID=$HOSTID",
"--address=0.0.0.0: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"
]