(feat) add broker host and port as env configuirable variables

This commit is contained in:
cardosofede
2024-04-16 12:19:29 -03:00
parent f649916ec7
commit bf2077d0b6
5 changed files with 25 additions and 16 deletions

View File

@@ -1,3 +1,7 @@
import os
from dotenv import load_dotenv
MINER_COINS = ["Algorand", "Avalanche", "DAO Maker", "Faith Tribe", "Fear", "Frontier",
"Harmony", "Hot Cross", "HUMAN Protocol", "Oddz", "Shera", "Firo",
"Vesper Finance", "Youclout", "Nimiq"]
@@ -12,3 +16,7 @@ CERTIFIED_EXCHANGES = ["ascendex", "binance", "bybit", "gate.io", "hitbtc", "huo
CERTIFIED_STRATEGIES = ["xemm", "cross exchange market making", "pmm", "pure market making"]
AUTH_SYSTEM_ENABLED = False
load_dotenv()
BACKEND_API_HOST = os.getenv("BACKEND_API_HOST", "localhost")
BACKEND_API_PORT = os.getenv("BACKEND_API_PORT", 8000)