41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# ==========================================
|
|
# Database
|
|
# ==========================================
|
|
POSTGRES_USER=wishlist
|
|
POSTGRES_PASSWORD=change_me
|
|
POSTGRES_DB=family_wishlist
|
|
# DATABASE_URL uses the docker-compose service name `postgres`.
|
|
# When running backend outside docker against docker-postgres use localhost:5432.
|
|
DATABASE_URL=postgresql://wishlist:change_me@postgres:5432/family_wishlist
|
|
|
|
# ==========================================
|
|
# Users (two fixed accounts)
|
|
# Generate hashes with:
|
|
# pnpm hash-password "YourPlainPassword"
|
|
# The plain password is NEVER stored anywhere in the app.
|
|
# ==========================================
|
|
USER1_USERNAME=alice
|
|
USER1_PASSWORD_HASH=
|
|
USER1_SLUG=alice
|
|
USER1_DISPLAY_NAME=Alice
|
|
|
|
USER2_USERNAME=bob
|
|
USER2_PASSWORD_HASH=
|
|
USER2_SLUG=bob
|
|
USER2_DISPLAY_NAME=Bob
|
|
|
|
# ==========================================
|
|
# Secrets (generate: openssl rand -hex 32)
|
|
# ==========================================
|
|
JWT_SECRET=
|
|
COOKIE_SECRET=
|
|
|
|
# ==========================================
|
|
# Runtime
|
|
# ==========================================
|
|
NODE_ENV=development
|
|
BACKEND_PORT=3000
|
|
PUBLIC_APP_URL=http://localhost:8080
|
|
UPLOADS_DIR=./uploads
|
|
LOG_LEVEL=info
|