Provide kataba as a Docker image (#49) #50
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/49-docker-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #49.
Dockerfile(Debian slim, Node 26) from the Next.js standalone output; runs asnode, uploads in a volume at/data/uploads.prisma migrate deploybefore the server starts (KATABA_SKIP_MIGRATIONS=1turns it off). The Prisma CLI lives in/opt/migrate, pinned to the lockfile's version.docker/compose.yaml+docker/.env.example: kataba with MariaDB 11.8; Authentik stays external.KATABA_STANDALONE=1); localnpm run build/next start/ e2e are unchanged.loadSettingsreturns the defaults with a 1 s revalidation; the first request at runtime regenerates the shells with the stored settings. Documented in ADR-0014.Tested
docker compose upagainst a fresh MariaDB applies all migrations and serves the home page as a guest.instanceNameandaccentColorstored in the database, the title and accent are correct from the first requests after container start.nodeuser.npm run build(no standalone, shells revalidate after 15 min as before).🤖 Generated with Claude Code