SQLite replaces Postgres, and two fixes from using the thing. - The database is a file under ./storage instead of a second container. Ten members never needed a database server, and the driver is pure Go, so the build stays CGO_ENABLED=0 and the dependency count is unchanged. One bind mount is now the whole backup: no pgdata, no healthcheck-gated depends_on, no startup retry loop. Timestamps are UTC text, idle_ttl is seconds, the divisive/unified boards carry their own stddev, and foreign keys are on by pragma. Tests get a database file each and run without any setup - Invites are copied, not clicked. An invite is something to send, and the anchor opened the join form in the admin's own browser - Feedback asks for more than faults: the footer reads "Ongelmia? Ideoita? Palautetta?" and the page behind it invites ideas rather than only bugs - Kuuntele YouTubessa opens in a new tab, so a half-typed review survives it
11 lines
371 B
Bash
11 lines
371 B
Bash
# Copy to .env and edit. The admin password has no default.
|
|
ADMIN_USER=admin
|
|
ADMIN_PASSWORD=
|
|
|
|
# Set to false only for local development over plain HTTP.
|
|
SECURE_COOKIES=true
|
|
|
|
# Public address of the member site. Used to build pasteable invite links in the admin panel.
|
|
# Unset falls back to a relative link, which is fine locally.
|
|
PUBLIC_URL=https://levyraati.example.com
|