From 01da9c8bd95bd531e45ddc14d79883e66db500e8 Mon Sep 17 00:00:00 2001 From: djkazic Date: Fri, 28 Jan 2022 17:20:36 -0600 Subject: [PATCH] Add Kollider lite Umbrel app --- apps/kollider/docker-compose.yml | 40 ++++++++++++++++++++++++++++++++ apps/registry.json | 23 ++++++++++++++++++ scripts/configure | 6 +++++ 3 files changed, 69 insertions(+) create mode 100644 apps/kollider/docker-compose.yml diff --git a/apps/kollider/docker-compose.yml b/apps/kollider/docker-compose.yml new file mode 100644 index 0000000..3eca853 --- /dev/null +++ b/apps/kollider/docker-compose.yml @@ -0,0 +1,40 @@ +version: "3.7" + +services: + backend: + image: kolliderhq/kollider-lite-backend:v1.0.0 + init: true + user: 1000:1000 + restart: on-failure + stop_grace_period: 1m + volumes: + - ${LND_DATA_DIR}:/lnd:ro + networks: + default: + ipv4_address: $APP_KOLLIDER_HH_IP + ws: + image: kolliderhq/kollider-ws-client:v1.0.0 + init: true + user: 1000:1000 + restart: on-failure + stop_grace_period: 1m + ports: + - "$APP_KOLLIDER_WS_PORT:8080" + volumes: + - ${LND_DATA_DIR}:/lnd:ro + environment: + APP_PASSWORD: $APP_PASSWORD + networks: + default: + ipv4_address: $APP_KOLLIDER_WS_IP + web: + image: kolliderhq/kollider-lite-app:v1.0.0 + init: true + user: 1000:1000 + restart: on-failure + stop_grace_period: 1m + ports: + - "$APP_KOLLIDER_PORT:3000" + networks: + default: + ipv4_address: $APP_KOLLIDER_IP diff --git a/apps/registry.json b/apps/registry.json index dbf29a6..c21267c 100644 --- a/apps/registry.json +++ b/apps/registry.json @@ -776,5 +776,28 @@ ], "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 } ] diff --git a/scripts/configure b/scripts/configure index 0cacd40..5c2317e 100755 --- a/scripts/configure +++ b/scripts/configure @@ -223,6 +223,10 @@ 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.69" +APP_KOLLIDER_WS_IP="10.21.21.70" +APP_KOLLIDER_HH_IP="10.21.21.71" +APP_KOLLIDER_PORT="4243" # Generate RPC credentials @@ -449,6 +453,8 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" " sed -i "s//${APP_BITFEED_PORT}/g" "${template}" sed -i "s//${APP_BITFEED_API_IP}/g" "${template}" sed -i "s//${APP_BITFEED_API_PORT}/g" "${template}" + sed -i "s//${APP_KOLLIDER_IP}/g" "${template}" + sed -i "s//${APP_KOLLIDER_PORT}/g" "${template}" done ##########################################################