40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
|
|
# ============================
|
|||
|
|
# Rentman Clone – Environment Variables
|
|||
|
|
# ============================
|
|||
|
|
# Copy this file to .env and adjust values for your environment.
|
|||
|
|
|
|||
|
|
# --- Database ---
|
|||
|
|
# SQLite for local development
|
|||
|
|
DATABASE_URL=sqlite+aiosqlite:///./data/rentman.db
|
|||
|
|
# PostgreSQL for production (uncomment when ready)
|
|||
|
|
# DATABASE_URL=postgresql+asyncpg://rentman:changeme@postgres:5432/rentman
|
|||
|
|
|
|||
|
|
# --- JWT Authentication ---
|
|||
|
|
JWT_SECRET_KEY=change-me-to-a-random-secret-at-least-32-chars
|
|||
|
|
JWT_ALGORITHM=HS256
|
|||
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|||
|
|
REFRESH_TOKEN_EXPIRE_MINUTES=1440
|
|||
|
|
|
|||
|
|
# --- Redis ---
|
|||
|
|
REDIS_URL=redis://localhost:6379/0
|
|||
|
|
|
|||
|
|
# --- MinIO / S3-compatible Storage ---
|
|||
|
|
MINIO_ENDPOINT=localhost:9000
|
|||
|
|
MINIO_ACCESS_KEY=minioadmin
|
|||
|
|
MINIO_SECRET_KEY=minioadmin
|
|||
|
|
MINIO_BUCKET_NAME=rentman-files
|
|||
|
|
MINIO_SECURE=false
|
|||
|
|
|
|||
|
|
# --- Application ---
|
|||
|
|
APP_ENV=development
|
|||
|
|
APP_DEBUG=true
|
|||
|
|
APP_NAME=Rentman Clone
|
|||
|
|
API_V1_PREFIX=/api/v1
|
|||
|
|
|
|||
|
|
# --- CORS ---
|
|||
|
|
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
|
|||
|
|
|
|||
|
|
# --- Coolify / Deployment (optional) ---
|
|||
|
|
# COOLIFY_API_URL=https://coolify.example.com/api/v1
|
|||
|
|
# COOLIFY_API_TOKEN=
|