From 90adda0d5e784d281b68959cd72baa7bd30261f6 Mon Sep 17 00:00:00 2001 From: 4TT1L4 <2914096+4TT1L4@users.noreply.github.com> Date: Tue, 2 Jan 2024 10:42:59 +0100 Subject: [PATCH] Docker Compose#6 --- docker-compose.yml | 8 ++++---- start.sh | 9 +++++---- 2 files changed, 9 insertions(+), 8 deletions(-) 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