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>
15 lines
431 B
Bash
15 lines
431 B
Bash
# Server — production cutover uses PORT=3000 (replaces legacy Fastify)
|
|
PORT=3000
|
|
HOST=0.0.0.0
|
|
NODE_ENV=development
|
|
|
|
# CORS (Vue dev server)
|
|
CORS_ORIGIN=http://localhost:5173
|
|
|
|
# SQLite — path inside container or on host (DB_PATH or DATABASE_PATH)
|
|
# DB_PATH=/app/data/app.db
|
|
# DATABASE_PATH=/app/data/app.db
|
|
|
|
# JWT — must match legacy Fastify when migrating existing tokens
|
|
JWT_SECRET=gold-land-dev-secret-change-in-production
|