feat(docker): add multi-stage image and compose with persistent SQLite

Mount ./docker-data for WAL-capable SQLite storage, support DATABASE_PATH alias, and document compose secrets via .env.docker.example.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 08:21:51 +02:00
co-authored by Cursor
parent e42386a5ee
commit 1261a9b482
7 changed files with 105 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
# Copy to .env.docker for docker compose (gitignored).
# Do not commit real secrets.
JWT_SECRET=replace-with-a-strong-secret
CORS_ORIGIN=http://localhost:5174