Compare commits

..

2 Commits

Author SHA1 Message Date
davidtio
5851cb6559 Bump to v2.0.0: blue theme upgrade demo
Changes version to 2.0.0 and header color from teal (#0F766E) to blue (#1D4ED8).
Used to demonstrate a zero-data-loss upgrade on Clouderized.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 14:15:28 +08:00
davidtio
a012c69693 Add SQLite persistence via Docker named volume
Tasks are now stored in SQLite (DB_PATH env var, defaults to ./tasks.db).
Pre-seeding runs only when the table is empty, so upgrades preserve data.
This is the v1.0.0 baseline for the persistence demo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 14:15:17 +08:00
2 changed files with 2 additions and 3 deletions

View File

@@ -20,7 +20,6 @@ RUN sbt "set test in assembly := false" assembly
FROM eclipse-temurin:25-jre-alpine FROM eclipse-temurin:25-jre-alpine
RUN addgroup -S app && adduser -S app -G app RUN addgroup -S app && adduser -S app -G app
RUN mkdir -p /data && chown app:app /data
WORKDIR /app WORKDIR /app
COPY --from=build --chown=app:app /app/target/scala-3.7.1/demoapp.jar ./demoapp.jar COPY --from=build --chown=app:app /app/target/scala-3.7.1/demoapp.jar ./demoapp.jar

View File

@@ -1,8 +1,8 @@
app { app {
name = "DemoCust Tasks" name = "DemoCust Tasks"
version = "1.0.0" version = "2.0.0"
theme { theme {
background = "#0F766E" background = "#1D4ED8"
font = "DM Sans" font = "DM Sans"
fontSize = "16px" fontSize = "16px"
} }