Skip to content

Commit

Permalink
Docker Compose#6
Browse files Browse the repository at this point in the history
  • Loading branch information
4TT1L4 committed Jan 2, 2024
1 parent b23a69b commit 90adda0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: '3.8'
services:
sor:
mm:
image: ghcr.io/geniusyield/market-maker:latest
container_name: mm
environment:
Expand All @@ -10,7 +10,7 @@ services:
"coreProvider": {
"maestroToken": "${MAESTRO_API_KEY}"
},
"networkId": "${NETWORK-mainnet}",
"networkId": "${NETWORK:-mainnet}",
"logging": [
{
"type": {
Expand All @@ -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",
Expand All @@ -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": {
Expand Down
9 changes: 5 additions & 4 deletions start.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 90adda0

Please sign in to comment.