mirror of
https://git.victorphan.net/basketballcantho/ten-project.git
synced 2026-08-05 10:43:11 +07:00
20 lines
1.2 KiB
Bash
20 lines
1.2 KiB
Bash
# Copy this file to .env and fill in the values before running docker-compose.
|
|
# NEVER commit .env to version control.
|
|
|
|
# ── PostgreSQL ────────────────────────────────────────────────────────────────
|
|
POSTGRES_DB=lms_db
|
|
POSTGRES_USER=lms_user
|
|
# REQUIRED — choose a strong password
|
|
POSTGRES_PASSWORD=change_me_strong_password
|
|
|
|
# ── JWT ───────────────────────────────────────────────────────────────────────
|
|
# REQUIRED — generate with: python -c "import secrets; print(secrets.token_hex(32))"
|
|
JWT_SECRET_KEY=change_me_generate_with_secrets_token_hex_32
|
|
|
|
# Token lifetime in minutes (default: 60)
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
|
|
|
# ── Ports ─────────────────────────────────────────────────────────────────────
|
|
# Port exposed on the host for the Next.js frontend
|
|
FRONTEND_PORT=3000
|