mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-11-11 16:09:18 +00:00
prepare for widgets
This commit is contained in:
parent
fa456c319c
commit
bdda22d1c8
|
@ -7,7 +7,7 @@ services:
|
|||
APP_PORT: 80
|
||||
|
||||
server:
|
||||
image: getumbrel/umbrel-back-that-mac-up:1.0.1@sha256:a42784b89a57cc128cc0e139be93f18ce8da3e41d219090452d17e44ed0a4c3c
|
||||
image: getumbrel/umbrel-back-that-mac-up:1.0.1@sha256:440c550396ea50143cca35c7ea7085a56874168f10ef96ffd40353529b4103b7
|
||||
restart: on-failure
|
||||
environment:
|
||||
TIME_MACHINE_DIR: "/timemachine"
|
||||
|
|
|
@ -31,5 +31,18 @@ gallery:
|
|||
path: ""
|
||||
deterministicPassword: false
|
||||
torOnly: false
|
||||
widgets:
|
||||
- id: "disk-usage"
|
||||
type: "stat-with-progress"
|
||||
refresh: "1m"
|
||||
endpoint: "server:80/api/widgets/disk-usage"
|
||||
link: ""
|
||||
example:
|
||||
type: "stat-with-progress"
|
||||
link: ""
|
||||
title: "Time Machine Usage"
|
||||
value: "420 GB"
|
||||
progressLabel: "580 GB left"
|
||||
progress: 0.42
|
||||
submitter: Umbrel
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/929
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
APP_PORT: 3005
|
||||
|
||||
server:
|
||||
image: getumbrel/umbrel-bitcoin:v0.5.0@sha256:e036c31434a1f377bb36ac0c816fa339c1234c35d1583509f3571437d41b7145
|
||||
image: getumbrel/umbrel-bitcoin:v0.5.0@sha256:eb0db41c3405d57bfd02243310951bf4b86b8b3225e59e13ee34760d0478594e
|
||||
depends_on: [bitcoind]
|
||||
restart: on-failure
|
||||
volumes:
|
||||
|
|
|
@ -55,5 +55,39 @@ releaseNotes: >-
|
|||
|
||||
|
||||
Read the full release notes for additional information and detailed changes at https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-26.0.md
|
||||
widgets:
|
||||
- id: "stats"
|
||||
type: "four-up"
|
||||
refresh: "10s"
|
||||
endpoint: "server:3005/v1/bitcoind/widgets/stats"
|
||||
link: ""
|
||||
example:
|
||||
type: "four-up"
|
||||
link: ""
|
||||
items:
|
||||
- title: "Connections"
|
||||
value: "11"
|
||||
valueSub: "peers"
|
||||
- title: "Mempool"
|
||||
value: "257"
|
||||
valueSub: "MB"
|
||||
- title: "Hashrate"
|
||||
value: "590"
|
||||
valueSub: "EH/s"
|
||||
- title: "Blockchain size"
|
||||
value: "600"
|
||||
valueSub: "GB"
|
||||
- id: "sync"
|
||||
type: "stat-with-progress"
|
||||
refresh: "5s"
|
||||
endpoint: "server:3005/v1/bitcoind/widgets/sync"
|
||||
link: ""
|
||||
example:
|
||||
type: "stat-with-progress"
|
||||
link: ""
|
||||
title: "Blockchain sync"
|
||||
value: "83%"
|
||||
progressLabel: "In progress"
|
||||
progress: 0.83
|
||||
submitter: Umbrel
|
||||
submission: https://github.com/getumbrel/umbrel-apps/commit/576ecd2bef8d625abceed0f67ec9c487da9b2b1b
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
APP_PORT: 3006
|
||||
|
||||
app:
|
||||
image: getumbrel/umbrel-lightning:v1.2.0@sha256:6252a4b7412f157ee61576af8f9e924d4f73e7e9dc2ba171cc9dc2767df7ffed
|
||||
image: getumbrel/umbrel-lightning:v1.2.0@sha256:07b57b08e52e2cb57b5ec38e00bab801c65f4a18de5d7066207d6ef3293e9c69
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- "${APP_LIGHTNING_NODE_DATA_DIR}:/data/.lnd"
|
||||
|
|
|
@ -53,5 +53,63 @@ gallery:
|
|||
- 5.jpg
|
||||
path: ""
|
||||
defaultPassword: ""
|
||||
widgets:
|
||||
- id: "bitcoin-wallet"
|
||||
type: "stat-with-buttons"
|
||||
refresh: "1m"
|
||||
endpoint: "app:3006/v1/lnd/widgets/bitcoin-wallet"
|
||||
link: ""
|
||||
example:
|
||||
type: "stat-with-buttons"
|
||||
link: ""
|
||||
title: "Bitcoin Wallet"
|
||||
value: "1,845,893"
|
||||
valueSub: "sats"
|
||||
buttons:
|
||||
- text: "Send"
|
||||
icon: "arrow-up-right"
|
||||
link: "?action=send-bitcoin"
|
||||
- text: "Receive"
|
||||
icon: "arrow-down-right"
|
||||
link: "?action=receive-bitcoin"
|
||||
- id: "lightning-wallet"
|
||||
type: "stat-with-buttons"
|
||||
refresh: "1m"
|
||||
endpoint: "app:3006/v1/lnd/widgets/lightning-wallet"
|
||||
link: ""
|
||||
example:
|
||||
type: "stat-with-buttons"
|
||||
link: ""
|
||||
title: "Lightning Wallet"
|
||||
value: "762,248"
|
||||
valueSub: "sats"
|
||||
buttons:
|
||||
- text: "Send"
|
||||
icon: "arrow-up-right"
|
||||
link: "?action=send-lightning"
|
||||
- text: "Receive"
|
||||
icon: "arrow-down-right"
|
||||
link: "?action=receive-lightning"
|
||||
- id: "lightning-stats"
|
||||
type: "four-up"
|
||||
refresh: "1m"
|
||||
endpoint: "app:3006/v1/lnd/widgets/lightning-stats"
|
||||
link: ""
|
||||
example:
|
||||
type: "four-up"
|
||||
link: ""
|
||||
items:
|
||||
- title: "Connections"
|
||||
value: "5"
|
||||
valueSub: "peers"
|
||||
- title: "Active channels"
|
||||
value: "3"
|
||||
valueSub: "channels"
|
||||
- title: "Max send"
|
||||
value: "90K"
|
||||
valueSub: "sats"
|
||||
- title: "Max receive"
|
||||
value: "45K"
|
||||
valueSub: "sats"
|
||||
submitter: Umbrel
|
||||
submission: https://github.com/getumbrel/umbrel-apps/commit/576ecd2bef8d625abceed0f67ec9c487da9b2b1b
|
||||
|
|
|
@ -26,7 +26,7 @@ services:
|
|||
- ${APP_DATA_DIR}/data/relay/db:/app/db
|
||||
|
||||
relay-proxy:
|
||||
image: getumbrel/umbrel-nostr-relay-proxy:v1.1.0@sha256:c8086f63ac23ade15376fc22aa3cee894a0374c698e7354c2593d395812ff715
|
||||
image: getumbrel/umbrel-nostr-relay-proxy:v1.1.0@sha256:3e14b428908f37ae7defdcdc86416ff44d081b59787bca785be56aaf6c8bf9ce
|
||||
user: "1000:1000"
|
||||
restart: on-failure
|
||||
environment:
|
||||
|
|
|
@ -38,5 +38,41 @@ gallery:
|
|||
path: ""
|
||||
deterministicPassword: false
|
||||
torOnly: false
|
||||
widgets:
|
||||
- id: "latest-kind1"
|
||||
type: "list"
|
||||
refresh: "30s"
|
||||
endpoint: "relay-proxy:80/relay-proxy/widgets/latest-kind1"
|
||||
link: ""
|
||||
example:
|
||||
type: "list"
|
||||
link: ""
|
||||
items:
|
||||
- text: "one-click app restarts, arriving in umbrelOS 1.0"
|
||||
textSub: "01:11 Mar 02, 2024"
|
||||
- text: "woop! glad it arrived before christmas! welcome aboard 🫡"
|
||||
textSub: "03:07 Dec 28, 2023"
|
||||
- text: "Congrats! Can’t wait for you to get your hands on it 🫶"
|
||||
textSub: "11:40 Nov 24, 2023"
|
||||
- id: "latest-events"
|
||||
type: "list-emoji"
|
||||
refresh: "30s"
|
||||
endpoint: "relay-proxy:80/relay-proxy/widgets/latest-events"
|
||||
link: ""
|
||||
example:
|
||||
type: "list-emoji"
|
||||
link: ""
|
||||
count: "503"
|
||||
items:
|
||||
- emoji: "💭"
|
||||
text: "Post"
|
||||
- emoji: "🔏"
|
||||
text: "Encrypted DM"
|
||||
- emoji: "🤙"
|
||||
text: "Reaction"
|
||||
- emoji: "🤙"
|
||||
text: "Reaction"
|
||||
- emoji: "📝"
|
||||
text: "Profile Update"
|
||||
submitter: Umbrel
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/398
|
||||
|
|
|
@ -18,3 +18,10 @@ services:
|
|||
- 51413:51413
|
||||
- 51413:51413/udp
|
||||
restart: on-failure
|
||||
|
||||
widget-server:
|
||||
image: getumbrel/umbrel-transmission-widget-server:v1.0.0@sha256:ae3f1e2b4b6d1f8384d6c8707ffde3fa81901619675ae4862b5dfc63003902b6
|
||||
environment:
|
||||
- TRANSMISSION_URL=http://server
|
||||
- TRANSMISSION_PORT=9091
|
||||
restart: on-failure
|
||||
|
|
|
@ -41,5 +41,42 @@ releaseNotes: >-
|
|||
Full release notes are available at https://github.com/transmission/transmission/releases
|
||||
permissions:
|
||||
- STORAGE_DOWNLOADS
|
||||
widgets:
|
||||
- id: "status"
|
||||
type: "four-up"
|
||||
refresh: "10s"
|
||||
endpoint: "widget-server:80/widgets/status"
|
||||
link: ""
|
||||
example:
|
||||
type: "four-up"
|
||||
link: ""
|
||||
items:
|
||||
- title: "Downloading"
|
||||
value: "3"
|
||||
valueSub: "torrents"
|
||||
- title: "Seeding"
|
||||
value: "1"
|
||||
valueSub: "torrents"
|
||||
- title: "Stopped"
|
||||
value: "0"
|
||||
valueSub: "torrents"
|
||||
- title: "Queued"
|
||||
value: "2"
|
||||
valueSub: "torrents"
|
||||
- id: "torrent-list"
|
||||
type: "list"
|
||||
refresh: "5s"
|
||||
endpoint: "widget-server:80/widgets/torrent-list"
|
||||
link: ""
|
||||
example:
|
||||
type: "list"
|
||||
link: ""
|
||||
items:
|
||||
- text: "33% • Ubuntu 22.04.3 amd64 ISO image"
|
||||
textSub: "↓4.4Mbps ↑1.2Mbps"
|
||||
- text: "100% • Ubuntu 21.1.0 amd64 ISO image"
|
||||
textSub: "↓0Mbps ↑78Kbps"
|
||||
- text: "100% • Debian 11.0 amd64 ISO image"
|
||||
textSub: "↓0Mbps ↑827Kbps"
|
||||
submitter: Umbrel
|
||||
submission: https://github.com/getumbrel/umbrel-apps/commit/60878f278d544b204d8e7c96240c797f43a9b319
|
||||
|
|
Loading…
Reference in New Issue
Block a user