gh_UserManager/.env.example
bermooda-company 54d5891edf user
2026-08-23 23:59:14 +03:30

28 lines
1.6 KiB
Plaintext

# ── Application ─────────────────────────────────────────────────────────────
APP_ENV=development
# ── Frontend (Next.js) ──────────────────────────────────────────────────────
NEXT_PUBLIC_SITE_URL=http://localhost:3000
NEXT_PUBLIC_API_URL=http://localhost:8000/api/v1
# ── Backend (Django) ────────────────────────────────────────────────────────
# development | production
DJANGO_ENV=development
DJANGO_SECRET_KEY=change-me-in-production
DJANGO_DEBUG=true
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0,backend,frontend
# host "postgres"/"redis" match docker-compose service names
DATABASE_URL=postgres://identity:identity@postgres:5432/identity
REDIS_URL=redis://redis:6379/0
CORS_ALLOWED_ORIGINS=http://localhost:3000
CSRF_TRUSTED_ORIGINS=http://localhost:3000
# ── PostgreSQL ───────────────────────────────────────────────────────────────
POSTGRES_DB=identity
POSTGRES_USER=identity
POSTGRES_PASSWORD=identity
POSTGRES_PORT=5432
# ── Redis ────────────────────────────────────────────────────────────────────
REDIS_PORT=6379