-
Notifications
You must be signed in to change notification settings - Fork 69
/
process-compose-mp.yml
118 lines (109 loc) · 4.27 KB
/
process-compose-mp.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: "3"
environment:
- ESPRESSO_SEQUENCER_GENESIS_FILE=data/genesis/demo-marketplace.toml
- ESPRESSO_BUILDER_GENESIS_FILE=data/genesis/demo-marketplace.toml
processes:
marketplace-reserve-builder:
command: marketplace-builder
ports:
- "$ESPRESSO_RESERVE_BUILDER_SERVER_PORT:$ESPRESSO_RESERVE_BUILDER_SERVER_PORT"
environment:
- ESPRESSO_BUILDER_SERVER_PORT=$ESPRESSO_RESERVE_BUILDER_SERVER_PORT
- ESPRESSO_MARKETPLACE_BUILDER_IS_RESERVE=true
- ESPRESSO_MARKETPLACE_SOLVER_API_URL=http://localhost:$ESPRESSO_MARKETPLACE_SOLVER_API_PORT
- ESPRESSO_MARKETPLACE_BUILDER_NAMESPACE=2
- ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_HOTSHOT_EVENT_STREAMING_API_URL=http://localhost:$ESPRESSO_SEQUENCER_HOTSHOT_EVENT_STREAMING_API_PORT
- ESPRESSO_BUILDER_GENESIS_FILE
depends_on:
sequencer0:
condition: process_healthy
fund-builder:
condition: process_completed
readiness_probe:
http_get:
scheme: http
host: localhost
port: $ESPRESSO_RESERVE_BUILDER_SERVER_PORT
path: /healthcheck
failure_threshold: 100
marketplace-fallback-builder:
command: marketplace-builder
ports:
- "$ESPRESSO_FALLBACK_BUILDER_SERVER_PORT:$ESPRESSO_FALLBACK_BUILDER_SERVER_PORT"
environment:
- ESPRESSO_BUILDER_SERVER_PORT=$ESPRESSO_FALLBACK_BUILDER_SERVER_PORT
- ESPRESSO_MARKETPLACE_BUILDER_IS_RESERVE=false
- ESPRESSO_MARKETPLACE_SOLVER_API_URL=http://localhost:$ESPRESSO_MARKETPLACE_SOLVER_API_PORT
- ESPRESSO_MARKETPLACE_BUILDER_NAMESPACE=4
- ESPRESSO_SEQUENCER_STATE_PEERS=http://localhost:$ESPRESSO_SEQUENCER_API_PORT
- ESPRESSO_SEQUENCER_HOTSHOT_EVENT_STREAMING_API_URL=http://localhost:$ESPRESSO_SEQUENCER_HOTSHOT_EVENT_STREAMING_API_PORT
- ESPRESSO_BUILDER_GENESIS_FILE
depends_on:
sequencer0:
condition: process_healthy
fund-builder:
condition: process_completed
readiness_probe:
http_get:
scheme: http
host: localhost
port: $ESPRESSO_FALLBACK_BUILDER_SERVER_PORT
path: /healthcheck
failure_threshold: 100
permissionless-builder:
environment:
- ESPRESSO_MARKETPLACE_BUILDER_NAMESPACE=10
submit-transactions-public:
command: submit-transactions
environment:
- ESPRESSO_SUBMIT_TRANSACTIONS_MIN_NAMESPACE=9
- ESPRESSO_SUBMIT_TRANSACTIONS_MAX_NAMESPACE=10
submit-transactions-private:
disabled: true
submit-transactions-private-fallback:
command: submit-transactions
environment:
- ESPRESSO_SUBMIT_TRANSACTIONS_PORT=$ESPRESSO_SUBMIT_TRANSACTIONS_PRIVATE_FALLBACK_PORT
- ESPRESSO_SUBMIT_TRANSACTIONS_SUBMIT_URL=http://localhost:$ESPRESSO_FALLBACK_BUILDER_SERVER_PORT/txn_submit
- ESPRESSO_SUBMIT_TRANSACTIONS_MIN_NAMESPACE=4
- ESPRESSO_SUBMIT_TRANSACTIONS_MAX_NAMESPACE=6
depends_on:
sequencer0:
condition: process_healthy
marketplace-fallback-builder:
condition: process_healthy
readiness_probe:
http_get:
scheme: http
host: localhost
port: $ESPRESSO_SUBMIT_TRANSACTIONS_PRIVATE_FALLBACK_PORT
path: /healthcheck
failure_threshold: 100
submit-transactions-private-reserve:
command: submit-transactions
environment:
- ESPRESSO_SUBMIT_TRANSACTIONS_PORT=$ESPRESSO_SUBMIT_TRANSACTIONS_PRIVATE_RESERVE_PORT
- ESPRESSO_SUBMIT_TRANSACTIONS_SUBMIT_URL=http://localhost:$ESPRESSO_RESERVE_BUILDER_SERVER_PORT/txn_submit
- ESPRESSO_SUBMIT_TRANSACTIONS_MIN_NAMESPACE=1
- ESPRESSO_SUBMIT_TRANSACTIONS_MAX_NAMESPACE=3
depends_on:
sequencer0:
condition: process_healthy
marketplace-reserve-builder:
condition: process_healthy
readiness_probe:
http_get:
scheme: http
host: localhost
port: $ESPRESSO_SUBMIT_TRANSACTIONS_PRIVATE_RESERVE_PORT
path: /healthcheck
failure_threshold: 100
dev-rollup:
command:
dev-rollup register --ns 1; dev-rollup register --ns 2; dev-rollup register --ns 3
environment:
- ESPRESSO_MARKETPLACE_SOLVER_API_URL=http://localhost:$ESPRESSO_MARKETPLACE_SOLVER_API_PORT
depends_on:
marketplace-solver:
condition: process_healthy