init
This commit is contained in:
26
.env.example
Normal file
26
.env.example
Normal file
@@ -0,0 +1,26 @@
|
||||
# --- 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
|
||||
Reference in New Issue
Block a user