-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
65 lines (65 loc) · 1.94 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3.8'
services:
mm:
image: ghcr.io/geniusyield/market-maker:latest
container_name: mm
environment:
# Supported modes: MM for market making and CANCEL for canceling ALL the orders.
MODE: ${MODE:-MM}
PROVIDER_CONFIG: |
{
"coreProvider": {
"maestroToken": "${MAESTRO_API_KEY}",
"turboSubmit": false
},
"networkId": "${NETWORK:-mainnet}",
"logging": [
{
"type": {
"tag": "stderr"
},
"severity": "Debug",
"verbosity": "V2"
}
]
}
MARKET_MAKER_CONFIG: |
{
"mbc_user": {
"ur_mnemonic": {
"mnemonic": ${SEED_PHRASE},
"acc_ix": 0,
"addr_ix": 0
},
"ur_coll": "${COLLATERAL_UTXO}",
"ur_stake_address": "${STAKE_ADDRESS}"
},
"mbc_delay": 120000000,
"mbc_price_config": {
"pc_api_key": "${MAESTRO_API_KEY}",
"pc_resolution": "15m",
"pc_network_id": "${NETWORK:-mainnet}",
"pc_dex": "genius-yield"
},
"mbc_strategy_config": {
"sc_spread": {
"numerator": 1,
"denominator": 100
},
"sc_token_volume": {
"tv_sell_min_vol": 1000000000,
"tv_buy_min_vol": 2000000000,
"tv_sell_budget": 3500000000,
"tv_buy_budget": 6600000000,
"tv_sell_vol_threshold": 10000000000,
"tv_buy_vol_threshold": 20000000000
},
"sc_price_check_product": 9,
"sc_cancel_threshold_product": 4
},
"mbc_token": {
"ac": "dda5fdb1002f7389b33e036b6afee82a8189becb6cba852e8b79b4fb.0014df1047454e53",
"precision": 6
}
}
restart: always