Files
geozoner-back/.env.example
Redsandy 3ea4fb4771 init
2026-03-14 18:48:57 +03:00

27 lines
622 B
Plaintext

# --- Database ---
# SQLite (local development):
DATABASE_URL=sqlite:///geozoner.db
# PostgreSQL (production):
# DATABASE_URL=postgresql://user:password@localhost:5432/geozoner
# --- Auth ---
SECRET_KEY=change-me-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=15
REFRESH_TOKEN_EXPIRE_DAYS=7
# --- App ---
APP_HOST=0.0.0.0
APP_PORT=8000
DEBUG=true
# --- CORS ---
CORS_ORIGINS=http://localhost,http://localhost:8000,http://127.0.0.1
# --- Firebase Cloud Messaging ---
# FCM_CREDENTIALS_PATH=/path/to/firebase-credentials.json
# --- Geo Settings ---
MIN_ZONE_AREA_M2=5000
LOOP_CLOSURE_RADIUS_M=50
DOUGLAS_PEUCKER_EPSILON_M=5