mirror of
https://git.victorphan.net/basketballcantho/ten-project.git
synced 2026-08-05 09:53:10 +07:00
hoàn thành bước tạo docker compose
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user