ops: Update build/unfurler stuff for onbtc

This commit is contained in:
wiz 2024-04-29 17:12:51 +09:00
parent f5333c529c
commit f9948055e4
No known key found for this signature in database
GPG Key ID: A394E332255A6173
3 changed files with 8 additions and 8 deletions

View File

@ -129,7 +129,7 @@ export NVM_DIR="${HOME}/.nvm"
source "${NVM_DIR}/nvm.sh"
# what to look for
frontends=(mainnet liquid)
frontends=(mainnet liquid onbtc)
backends=(mainnet testnet signet liquid liquidtestnet)
frontend_repos=()
backend_repos=()
@ -151,7 +151,7 @@ for repo in $backend_repos;do
done
# build unfurlers
for repo in mainnet liquid;do
for repo in $frontend_repos;do
build_unfurler "${repo}"
done
@ -166,7 +166,7 @@ for repo in $frontend_repos;do
done
# ship frontend dist folders to public_html
for target in mainnet liquid;do
for target in $frontend_repos;do
ship_frontend "${target}"
done

View File

@ -15,7 +15,7 @@ screen -dmS x startx
sleep 3
# start unfurlers for each frontend
for site in mainnet liquid ;do
for site in mainnet liquid onbtc;do
cd "$HOME/${site}/unfurler" && \
echo "starting mempool unfurler: ${site}" && \
screen -dmS "unfurler-${site}" sh -c 'while true;do npm run unfurler;sleep 2;done'

View File

@ -1,12 +1,12 @@
{
"SERVER": {
"HOST": "https://bisq.fra.mempool.space",
"HTTP_PORT": 8002
"HOST": "https://onbtc.tk7.mempool.space",
"HTTP_PORT": 8003
},
"MEMPOOL": {
"HTTP_HOST": "http://127.0.0.1",
"HTTP_PORT": 82,
"NETWORK": "bisq"
"HTTP_PORT": 83,
"NETWORK": "onbtc"
},
"PUPPETEER": {
"CLUSTER_SIZE": 8,