diff --git a/docker-compose.yml b/docker-compose.yml index 774184f..0ea3c46 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: '3.8' services: - sor: + mm: image: ghcr.io/geniusyield/market-maker:latest container_name: mm environment: @@ -10,7 +10,7 @@ services: "coreProvider": { "maestroToken": "${MAESTRO_API_KEY}" }, - "networkId": "${NETWORK-mainnet}", + "networkId": "${NETWORK:-mainnet}", "logging": [ { "type": { @@ -25,7 +25,7 @@ services: { "mbc_user": { "ur_s_key_path": "~/payment-signing-key.skey", - "ur_coll": ${COLLATERAL_UTXO}" + "ur_coll": "${COLLATERAL_UTXO}" }, "mbc_fp_nft_policy": "compiled-scripts/minting-policy", "mbc_fp_order_validator": "compiled-scripts/partial-order", @@ -38,7 +38,7 @@ services: "mbc_delay": 120000000, "mbc_price_config": { "pc_api_key": "${MAESTRO_API_KEY}", - "pc_network_id": "${NETWORK-mainnet}", + "pc_network_id": "${NETWORK:-mainnet}", "pc_dex": "genius-yield" }, "mbc_strategy_config": { diff --git a/start.sh b/start.sh index c326f52..a1c8a72 100644 --- a/start.sh +++ b/start.sh @@ -1,5 +1,6 @@ #!/bin/bash -echo $PROVIDER_CONFIG >> ~/config.json -echo $MARKET_MAKER_CONFIG >> ~/marker-maker-config.json -echo $PAYMENT_SIGNING_KEY >> ~/payment-signing-key.skey -cabal run geniusyield-market-maker-exe -- Run ~/config.json ~/marker-maker-config.json +ls -l ~/ +echo "$PROVIDER_CONFIG" >> ~/config.json +echo "$MARKET_MAKER_CONFIG" >> ~/marker-maker-config.json +echo "$PAYMENT_SIGNING_KEY" >> ~/payment-signing-key.skey +cabal run geniusyield-market-maker-exe -- Run ~/config.json ~/market-maker-config.json