Browse Source
Add kollider app (#1221 )
Co-authored-by: djkazic <kevincai96@gmail.com>
apps-test
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
88 additions and
0 deletions
apps/kollider/docker-compose.yml
apps/registry.json
scripts/configure
templates/.env-sample
templates/torrc-server-sample
@ -0,0 +1,44 @@
version : "3.7"
services:
backend:
image : kolliderhq/kollider-lite-backend:v1.0.0@sha256:50556ad9c14b39f327f270499c6188b15c036c4c7865346c2c26198b3e6eabb0
init : true
user : 1000 : 1000
restart : on -failure
stop_grace_period : 1m
volumes:
- ${LND_DATA_DIR}:/lnd:ro
environment:
LND_IP : $LND_IP
networks:
default:
ipv4_address : $APP_KOLLIDER_HH_IP
ws:
image : kolliderhq/kollider-ws-client:v1.0.0@sha256:ec37e3c75d62cf197e1a28031bcf0ebf62f7bd815181c8414ad27a8b1db9e942
init : true
user : 1000 : 1000
restart : on -failure
stop_grace_period : 1m
ports:
- "$APP_KOLLIDER_WS_PORT:8080"
environment:
APP_PASSWORD : $APP_PASSWORD
KOLLIDER_ZMQ_ADDRESS : "tcp://${APP_KOLLIDER_HH_IP}:5556"
KOLLIDER_ZMQ_SUB_ADDRESS : "tcp://${APP_KOLLIDER_HH_IP}:5557"
KOLLIDER_ZMQ_HEDGER_ADDRESS : "tcp://${APP_KOLLIDER_HH_IP}:5558"
KOLLIDER_ZMQ_HEDGER_SUB_ADDRESS : "tcp://${APP_KOLLIDER_HH_IP}:5559"
networks:
default:
ipv4_address : $APP_KOLLIDER_WS_IP
web:
image : kolliderhq/kollider-lite-app:v1.0.0@sha256:b930aa6e519b78b5db69915300796807ac09b7356f9b099b7630585aed47d0b5
init : true
user : 1000 : 1000
restart : on -failure
stop_grace_period : 1m
ports:
- "$APP_KOLLIDER_PORT:3000"
networks:
default:
ipv4_address : $APP_KOLLIDER_IP
@ -776,5 +776,29 @@
] ,
"path" : "/admin" ,
"deterministicPassword" : true
} ,
{
"id" : "kollider" ,
"category" : "Finance" ,
"name" : "Kollider" ,
"version" : "1.0.0" ,
"tagline" : "Lightning-fast derivative trading" ,
"description" : "Kollider lets you instantly trade perpetual contracts with low fees and up to 100x buying power.\n\nNo need to pre-fund a trading account, each trade settles directly from your own wallet or even from your own lightning node in milliseconds.\n\nThe Kollider Umbrel App lets you use the Lightning Network to get instant exposure to a range of products using Bitcoin, directly from your Umbrel node.\n\nMore features coming soon!" ,
"developer" : "Kollider" ,
"website" : "https://kollider.xyz" ,
"dependencies" : [
"lnd"
] ,
"repo" : "https://github.com/kolliderhq/kollider-lite-app" ,
"support" : "https://t.me/kolliderhq" ,
"port" : 4243 ,
"gallery" : [
"1.jpg" ,
"2.jpg" ,
"3.jpg"
] ,
"path" : "" ,
"deterministicPassword" : true ,
"torOnly" : false
}
]
@ -223,6 +223,11 @@ APP_BITFEED_IP="10.21.21.68"
APP_BITFEED_PORT="8314"
APP_BITFEED_API_IP="10.21.21.69"
APP_BITFEED_API_PORT="8315"
APP_KOLLIDER_IP="10.21.21.70"
APP_KOLLIDER_PORT="4243"
APP_KOLLIDER_WS_IP="10.21.21.71"
APP_KOLLIDER_WS_PORT="4244"
APP_KOLLIDER_HH_IP="10.21.21.72"
# Generate RPC credentials
@ -449,6 +454,11 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" "
sed -i "s/<app-bitfeed-port>/${APP_BITFEED_PORT}/g" "${template}"
sed -i "s/<app-bitfeed-api-ip>/${APP_BITFEED_API_IP}/g" "${template}"
sed -i "s/<app-bitfeed-api-port>/${APP_BITFEED_API_PORT}/g" "${template}"
sed -i "s/<app-kollider-ip>/${APP_KOLLIDER_IP}/g" "${template}"
sed -i "s/<app-kollider-port>/${APP_KOLLIDER_PORT}/g" "${template}"
sed -i "s/<app-kollider-ws-ip>/${APP_KOLLIDER_WS_IP}/g" "${template}"
sed -i "s/<app-kollider-ws-port>/${APP_KOLLIDER_WS_PORT}/g" "${template}"
sed -i "s/<app-kollider-hh-ip>/${APP_KOLLIDER_HH_IP}/g" "${template}"
done
##########################################################
@ -123,3 +123,8 @@ APP_BITFEED_IP=<app-bitfeed-ip>
APP_BITFEED_PORT=<app-bitfeed-port>
APP_BITFEED_API_IP=<app-bitfeed-api-ip>
APP_BITFEED_API_PORT=<app-bitfeed-api-port>
APP_KOLLIDER_IP=<app-kollider-ip>
APP_KOLLIDER_PORT=<app-kollider-port>
APP_KOLLIDER_WS_IP=<app-kollider-ws-ip>
APP_KOLLIDER_WS_PORT=<app-kollider-ws-port>
APP_KOLLIDER_HH_IP=<app-kollider-hh-ip>
@ -180,3 +180,8 @@ HiddenServicePort 80 <app-satsale-ip>:5000
# bitfeed Hidden Service
HiddenServiceDir /data/app-bitfeed
HiddenServicePort 80 <app-bitfeed-ip>:80
# kollider Hidden Service
HiddenServiceDir /data/app-kollider
HiddenServicePort 80 <app-kollider-ip>:3000
HiddenServicePort 4244 <app-kollider-ws-ip>:8080