Address PR review: graceful shutdown, Role/NewUser, drop SQLite.
This commit is contained in:
+3
-4
@@ -1,14 +1,13 @@
|
||||
# Local listen address (ignored when PORT is set, e.g. on App Platform)
|
||||
LISTEN=:8080
|
||||
DATA_PATH=data.db
|
||||
# Required: PlanetScale Postgres URI (port 5432 so the app can create tables on boot).
|
||||
# Switch to 6432 (PgBouncer) later if you need pooling.
|
||||
DATABASE_URL=postgresql://user:password@host.example.com:5432/postgres?sslmode=verify-full
|
||||
# Optional: first matching registrant becomes admin only if no admin exists yet.
|
||||
# Later promote/demote via /admin/users (admins only).
|
||||
ADMIN_USERNAME=yourusername
|
||||
# Set to 1 when serving over HTTPS
|
||||
SECURE_COOKIE=0
|
||||
# Prod (PlanetScale Postgres): paste the dashboard URI. When set, SQLite is ignored.
|
||||
# Use port 5432 so the app can create tables on boot. Switch to 6432 (PgBouncer) later if you need pooling.
|
||||
# DATABASE_URL=postgresql://user:password@host.example.com:5432/postgres?sslmode=verify-full
|
||||
# DigitalOcean Spaces (profile avatars). Leave unset to disable uploads.
|
||||
# SPACES_KEY=
|
||||
# SPACES_SECRET=
|
||||
|
||||
Reference in New Issue
Block a user