Atreides Services 0.0.6: de API voor afnemers op poort 8091
Alleen 8091 wordt gepubliceerd; de beheer-app blijft achter app_proxy. Geen nieuwe image: 0.0.3 bevat de API al. Suite groen (91, 54, 68, 36, 90, 22 goed; release-bump alles goed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a9ba9a1023
commit
fbee75d76b
2 files changed
+17
-22
No files matched your search
@@ -8,9 +8,9 @@
|
|||||||
# in de root daar), net als bij Atreides Assets; deze store draagt alleen de
|
# in de root daar), net als bij Atreides Assets; deze store draagt alleen de
|
||||||
# app-definitie.
|
# app-definitie.
|
||||||
#
|
#
|
||||||
# Geen `ports:` hier. De beheer-app is een web-UI en hangt volledig achter
|
# De beheer-app is een web-UI en hangt volledig achter app_proxy, zonder eigen
|
||||||
# app_proxy. De API voor afnemers krijgt later een eigen poort, en pas DIE wordt
|
# poort. Alleen de API voor afnemers (8091) wordt gepubliceerd: die bedient een
|
||||||
# eventueel gepubliceerd; daar staat nu nog niets voor.
|
# cliënt zonder browsersessie, net als Gate en de Relay.
|
||||||
# ═══════════════════════════════════════════════════════════════════════════════
|
# ═══════════════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@@ -36,6 +36,13 @@ services:
|
|||||||
# alleen dit bestand verandert.
|
# alleen dit bestand verandert.
|
||||||
image: sc.kamenier-hamer.nl/sysop/atreides-services:0.0.3@sha256:022cd900d70a9f896872f86eec4a7bf9a1fdebf57bfe2373b5ecb5adfb76e47d
|
image: sc.kamenier-hamer.nl/sysop/atreides-services:0.0.3@sha256:022cd900d70a9f896872f86eec4a7bf9a1fdebf57bfe2373b5ecb5adfb76e47d
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
# De API voor afnemers, zoals Atreides Assets op de laptop of de Mac. Elke
|
||||||
|
# aanroep behalve /v1/health vraagt een token, dat je op de pagina Systeem van
|
||||||
|
# de beheer-app aanmaakt. Zonder certificaat is het http, dus het token gaat
|
||||||
|
# onversleuteld over het LAN; publiek hoort er een reverse proxy met TLS voor.
|
||||||
|
# De beheer-app (8090) staat hier met opzet niet bij.
|
||||||
|
ports:
|
||||||
|
- "8091:8091"
|
||||||
# Geen `user:` nodig: de image zet zelf `USER node` (uid 1000). umbrelOS
|
# Geen `user:` nodig: de image zet zelf `USER node` (uid 1000). umbrelOS
|
||||||
# maakt de datamap aan als `umbrel`, ook uid 1000, dus node mag erin
|
# maakt de datamap aan als `umbrel`, ook uid 1000, dus node mag erin
|
||||||
# schrijven; gemeten op 09-10-2026.
|
# schrijven; gemeten op 09-10-2026.
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ folderAccess:
|
|||||||
targetPath: /data/history
|
targetPath: /data/history
|
||||||
category: finance
|
category: finance
|
||||||
name: Atreides Services
|
name: Atreides Services
|
||||||
version: "0.0.5"
|
version: "0.0.6"
|
||||||
tagline: Your own price feed, recorded around the clock
|
tagline: Your own price feed, recorded around the clock
|
||||||
description: >-
|
description: >-
|
||||||
A price service that runs on your Umbrel and keeps what it records. It fetches prices day
|
A price service that runs on your Umbrel and keeps what it records. It fetches prices day
|
||||||
@@ -55,25 +55,13 @@ description: >-
|
|||||||
|
|
||||||
This is an early version. It records spot prices every minute from Bitvavo and
|
This is an early version. It records spot prices every minute from Bitvavo and
|
||||||
mempool.space, and brings the administration app with its System page and an optional
|
mempool.space, and brings the administration app with its System page and an optional
|
||||||
login of its own. The API for other apps follows in a later version.
|
login of its own. Other apps read the prices through its API on port 8091, with a token
|
||||||
|
you create on the System page.
|
||||||
releaseNotes: >-
|
releaseNotes: >-
|
||||||
Closed months can now move out of the app's own storage. After each nightly backup, a
|
The API for other apps is now reachable on your network, on port 8091 of your Umbrel.
|
||||||
closed month that has a backup copy is copied to the new Price history folder, checked,
|
Every call except /v1/health needs a token; create one on the System page of the
|
||||||
and only then removed locally. On umbrelOS 2.0 you can point that folder at a folder on
|
administration app. Without a certificate the API runs over plain http, so keep it on
|
||||||
your NAS in the app settings; without that, it stays in the app's own storage. If the
|
your own network. The administration app itself stays behind the Umbrel login.
|
||||||
NAS cannot be reached, the app says which month it cannot read instead of showing an
|
|
||||||
empty series.
|
|
||||||
|
|
||||||
|
|
||||||
Backups are now written to their own subfolder backups/ with a marker file, so the app
|
|
||||||
never writes into a folder that belongs to something else. Backups and Price history may
|
|
||||||
point at the same folder.
|
|
||||||
|
|
||||||
|
|
||||||
Also new: every change to the instrument register is recorded in a changelog, and the new
|
|
||||||
Changes page shows it with before and after, and lets you undo a change. And an MCP
|
|
||||||
server, so an AI assistant can read and analyse the prices and make changes; each of its
|
|
||||||
changes lands in the changelog and can be undone there.
|
|
||||||
developer: "WhatsNext?"
|
developer: "WhatsNext?"
|
||||||
website: https://sc.kamenier-hamer.nl/sysop/UmbrelApps
|
website: https://sc.kamenier-hamer.nl/sysop/UmbrelApps
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|||||||
Reference in new issue
Block a user