21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
# Copy to .env. The values below are the development ones — `./scripts/up.sh`
|
|
# works with them as they are; only ADMIN_EMAILS is worth changing.
|
|
# Read by scripts/dev.sh and by docker compose. Leave them unquoted:
|
|
# `docker run --env-file` passes quotes through literally, unlike compose.
|
|
|
|
# Development Postgres, started by scripts/db.sh on 5433. In production compose
|
|
# builds this itself from POSTGRES_USER / POSTGRES_PASSWORD / POSTGRES_DB.
|
|
DATABASE_URL=postgresql://szabadpalya:szabadpalya@localhost:5433/szabadpalya
|
|
|
|
# The public origin. Decides whether the session cookie is Secure and what host
|
|
# magic links point at, so it must be the real external URL. In development that
|
|
# is Vite, which serves the page and proxies /api — not the Go port.
|
|
BASE_URL=http://localhost:5173
|
|
|
|
# Any string will do in development. In production: openssl rand -base64 32
|
|
SESSION_SECRET=dev-only-not-a-secret
|
|
|
|
# Comma-separated emails promoted to admin on sign-in. Use your own, or you will
|
|
# sign in with no admin rights.
|
|
ADMIN_EMAILS=admin@example.org
|