Drop the Compose/Caddy example: production runs on Kubernetes, and locally the container only needs a forwarded port and a volume. The README now gives the `docker run` steps and what a Kubernetes deployment needs (one replica, since it's a single SQLite file; a volume at /data; TLS at the ingress). The server only shut down on Ctrl-C, so `docker stop` and pod termination, which send SIGTERM, waited out the grace period and killed it. It now shuts down gracefully on either. Also ignore `.env`, which can hold the OIDC client secret.
34 lines
726 B
Plaintext
34 lines
726 B
Plaintext
# Rust / Cargo
|
|
/target
|
|
**/*.rs.bk
|
|
|
|
# Node / frontend
|
|
node_modules/
|
|
/dist/
|
|
|
|
# Tauri generated. `gen/android` is deliberately tracked: it holds the Gradle
|
|
# project and AndroidManifest.xml, which we hand-edit (permissions have no
|
|
# tauri.conf.json equivalent) and must not lose to a re-init.
|
|
/src-tauri/gen/*
|
|
!/src-tauri/gen/android
|
|
/src-tauri/gen/android/.gradle/
|
|
/src-tauri/gen/android/build/
|
|
/src-tauri/gen/android/app/build/
|
|
/src-tauri/gen/android/local.properties
|
|
|
|
# Local databases (reference.db is rebuildable; library.db is your synced data)
|
|
*.db
|
|
*.sqlite
|
|
*.db-shm
|
|
*.db-wal
|
|
|
|
# OS / editor
|
|
.DS_Store
|
|
Thumbs.db
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Server settings, which may hold an OIDC client secret. Only the example is tracked.
|
|
.env
|