19 lines
574 B
Text
19 lines
574 B
Text
# Database — SQLite works out of the box for local dev
|
|
DATABASE_URL=sqlite:///./silos.db
|
|
|
|
# For PostgreSQL (with docker compose up -d), use instead:
|
|
# DATABASE_URL=postgresql+psycopg2://silos:silos_secret@localhost:5432/silos
|
|
|
|
# MongoDB (for whiteboards & sketches — used in later phases)
|
|
MONGODB_URL=mongodb://localhost:27017
|
|
MONGODB_DB=silos
|
|
|
|
# Auth
|
|
SECRET_KEY=change-this-to-a-long-random-secret-key-in-production
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
|
|
# App
|
|
APP_NAME=Silos API
|
|
DEBUG=true
|
|
CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
|