diff --git a/whatsnext-atreides-services/data/app/history/.gitkeep b/whatsnext-atreides-services/data/app/history/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/whatsnext-atreides-services/docker-compose.yml b/whatsnext-atreides-services/docker-compose.yml index a10b7a2..4c68a0d 100644 --- a/whatsnext-atreides-services/docker-compose.yml +++ b/whatsnext-atreides-services/docker-compose.yml @@ -34,7 +34,7 @@ services: # DE TAG IS DE VERSIE VAN DE IMAGE EN NIET DIE VAN DE APP, net als bij Atreides # Assets: `version` in umbrel-app.yml moet bij élke wijziging omhoog, ook als # alleen dit bestand verandert. - image: sc.kamenier-hamer.nl/sysop/atreides-services:0.0.2@sha256:f46330027f8289ba263dcbca15bda5ea00de8c2f64bcb17b71974ab7497c60ad + image: sc.kamenier-hamer.nl/sysop/atreides-services:0.0.3@sha256:022cd900d70a9f896872f86eec4a7bf9a1fdebf57bfe2373b5ecb5adfb76e47d restart: on-failure # 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 @@ -71,3 +71,7 @@ services: # Gemeten in het plan Netwerkopslag: een mount binnen /data verbergt de rest # niet. - ${APP_DATA_DIR}/data/app/backups:/data/backups + # De standaard van het slot "price-history": de afgesloten maanden. Zonder + # gekozen map dezelfde plek als zonder deze regel; de app schrijft eronder in + # een eigen submap history/ met merkbestand. + - ${APP_DATA_DIR}/data/app/history:/data/history diff --git a/whatsnext-atreides-services/umbrel-app.yml b/whatsnext-atreides-services/umbrel-app.yml index 7e9dee8..6465370 100644 --- a/whatsnext-atreides-services/umbrel-app.yml +++ b/whatsnext-atreides-services/umbrel-app.yml @@ -19,9 +19,9 @@ storage: # gekopieerd; umbreld vervangt alleen de mount. De standaard is de mount op # dezelfde service en hetzelfde doelpad in docker-compose.yml, en die wijst naar # dezelfde plek als zonder dit slot, dus voor een bestaande installatie -# verandert er niets. De app schrijft in een eigen submap backups/ met een -# merkbestand, zodat dit slot en het latere "Price history" naar dezelfde -# NAS-map mogen wijzen. +# verandert er niets. De app schrijft in een eigen submap per slot (backups/ en +# history/), elk met een merkbestand, zodat "Backups" en "Price history" naar +# dezelfde NAS-map mogen wijzen. # # Het `id` is na de eerste release vast: umbrelOS bewaart de keuze van de # gebruiker per id, dus hernoemen gooit die weg. Op een netwerkshare valt de map @@ -32,9 +32,14 @@ folderAccess: mounts: - service: server targetPath: /data/backups + - id: price-history + name: Price history + mounts: + - service: server + targetPath: /data/history category: finance name: Atreides Services -version: "0.0.4" +version: "0.0.5" tagline: Your own price feed, recorded around the clock description: >- A price service that runs on your Umbrel and keeps what it records. It fetches prices day @@ -52,10 +57,23 @@ description: >- 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. releaseNotes: >- - The app now makes a checked backup every night, and keeps each closed month once. On - umbrelOS 2.0 you can point the new Backups folder at a folder on your NAS in the app - settings, so the backups live on another disk. Without that, they stay in the app's own - storage. The app writes them in a subfolder backups/ of the folder you pick. + Closed months can now move out of the app's own storage. After each nightly backup, a + closed month that has a backup copy is copied to the new Price history folder, checked, + and only then removed locally. On umbrelOS 2.0 you can point that folder at a folder on + your NAS in the app settings; without that, it stays in the app's own storage. If the + 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?" website: https://sc.kamenier-hamer.nl/sysop/UmbrelApps dependencies: []