Skip to content

Commit 9c82b3d

Browse files
authored
Add albyhub (v1.15.0) (#902)
* Add albyhub (v1.15.0) Fix albyhub.service: no syslog (btw mynode_sdk .service file needs updateting) Update albyhub.png - Use GetAlby Brand Kit logo * $MYNODE Dir was not usable * Simplify datapath Need to implement backup * http-only bitcoin_app * change category to lightning_app Update albyhub.json * fixes * Add albyhub (v1.15.0) Fix albyhub.service: no syslog (btw mynode_sdk .service file needs updateting) Update albyhub.png - Use GetAlby Brand Kit logo * Simplify datapath Need to implement backup * http-only bitcoin_app * fixes * Remove data deletion on reinstall * Remove unnessessary download_url info * Update mynode_firewall.sh Dynamics apps json takes care of firewall settings so removing this * cleanup install Fix docker image removal * download_skip * Clean Instructions * restore https * clean references to data backup/restore * Fix Description * Remove version references Update check_app_versions.py Update mynode_app_versions.sh * Delete albyhub.html non-used file
1 parent 4df56ed commit 9c82b3d

File tree

18 files changed

+210
-0
lines changed

18 files changed

+210
-0
lines changed

rootfs/standard/usr/bin/mynode_firewall.sh

100755100644
File mode changed.

rootfs/standard/usr/bin/mynode_update_latest_version_files.sh

100755100644
File mode changed.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"name": "albyhub",
3+
"short_name": "albyhub",
4+
"author": {
5+
"name": "getAlby",
6+
"link": "https://www.albyhub.com"
7+
},
8+
"website": {
9+
"name": "GitHub",
10+
"link": "https://github.com/getAlby/hub"
11+
},
12+
"category": "lightning_app",
13+
"short_description": "Lightning Wallet",
14+
"description": [
15+
"Alby Hub is a self-custodial, open source lightning wallet that connects to apps.",
16+
"Lightning Made Easy - Running your own node has never been easier.",
17+
"Set up your own LDK Lightning node in one click, top up channels via credit card or bank transfer,",
18+
"choose from the most reliable liquidity providers in the space and get 24/7 live support",
19+
"– all in one intuitive interface.",
20+
"You will also easily understand how the lightning network works and learning effortlessly along the way."
21+
],
22+
"latest_version": "v1.15.0",
23+
"supported_archs": null,
24+
"download_skip": true,
25+
"download_type": "source",
26+
"download_source_url": "not_required",
27+
"download_binary_url": {
28+
"aarch64": "download_url",
29+
"x86_64": "download_url"
30+
},
31+
"install_env_vars": {},
32+
"supports_app_page": true,
33+
"supports_testnet": false,
34+
"http_port": 8080,
35+
"https_port": 8081,
36+
"requires_bitcoin": false,
37+
"requires_docker_image_installation": true,
38+
"requires_electrs": false,
39+
"requires_lightning": false,
40+
"show_on_application_page": true,
41+
"show_on_homepage": true,
42+
"show_on_status_page": true,
43+
"hide_status_icon": false,
44+
"app_tile_name": "albyhub",
45+
"app_tile_running_status_text": "Running",
46+
"app_tile_button_text": "Info",
47+
"app_tile_button_href": "/app/albyhub/info",
48+
"app_page_show_open_button": true,
49+
"app_page_content": [
50+
{
51+
"heading": "Instructions",
52+
"content": [
53+
"Alby Hub - Your Own Center for Internet Money",
54+
"On first login non-recoverable password will be created.",
55+
"Configuration with LDK will create non-custodial Lightning Node.",
56+
"Lightning node uses external services for Bitcoin Blockchain data and indexes. So disk space usage of Alby Hub is minimal.",
57+
"Make sure you have backups https://guides.getalby.com/user-guide/alby-account-and-browser-extension/alby-hub/backups-and-recover",
58+
"You can open the app with the Open button on the left.",
59+
"Enjoy!"
60+
]
61+
}
62+
],
63+
"can_uninstall": true,
64+
"can_reinstall": true,
65+
"can_enable_disable": true,
66+
"is_beta": false,
67+
"is_premium": false,
68+
"homepage_section": "apps",
69+
"homepage_order": 91,
70+
"app_type": "custom",
71+
"sdk_version": 2
72+
}
5.92 KB
Loading
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# albyhub service
2+
# /etc/systemd/system/albyhub.service
3+
4+
[Unit]
5+
Description=albyhub
6+
Wants=www.service docker_images.service
7+
After=www.service docker_images.service
8+
9+
[Service]
10+
WorkingDirectory=/opt/mynode/albyhub
11+
12+
ExecStartPre=/usr/bin/is_not_shutting_down.sh
13+
ExecStartPre=/bin/bash -c 'if [ -f /usr/bin/service_scripts/pre_albyhub.sh ]; then /bin/bash /usr/bin/service_scripts/pre_albyhub.sh; fi'
14+
ExecStart=docker run --rm \
15+
--name albyhub \
16+
--publish 8080:8080 \
17+
--volume /mnt/hdd/mynode/albyhub:/data \
18+
--env WORK_DIR='/data' \
19+
albyhub
20+
ExecStartPost=/bin/bash -c 'if [ -f /usr/bin/service_scripts/post_albyhub.sh ]; then /bin/bash /usr/bin/service_scripts/post_albyhub.sh; fi'
21+
ExecStop=docker stop -t 2 albyhub
22+
23+
User=bitcoin
24+
Group=bitcoin
25+
Type=simple
26+
TimeoutSec=120
27+
Restart=always
28+
RestartSec=60
29+
SyslogIdentifier=albyhub
30+
31+
[Install]
32+
WantedBy=multi-user.target
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
server {
2+
listen 8081 ssl;
3+
server_name albyhub;
4+
5+
include /etc/nginx/mynode/mynode_ssl_params.conf;
6+
include /etc/nginx/mynode/mynode_ssl_cert_key.conf;
7+
8+
access_log /var/log/nginx/access_albyhub.log;
9+
error_log /var/log/nginx/error_albyhub.log;
10+
11+
location / {
12+
proxy_pass http://127.0.0.1:8080;
13+
14+
include /etc/nginx/mynode/mynode_ssl_proxy_params.conf;
15+
}
16+
17+
}
513 KB
Loading
430 KB
Loading
426 KB
Loading
409 KB
Loading

0 commit comments

Comments
 (0)