- Refactor docker/postgres/Dockerfile to build on pgvector:pg17 with postgresql-17-postgis-3. - Fix .gitignore rule to cleanly track .env.example. - Add .env.example with local database, auth, and PGAdmin configuration templates.
20 lines
564 B
Bash
20 lines
564 B
Bash
# PostgreSQL Database Configuration
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DB=novias_db
|
|
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/novias_db
|
|
|
|
# PGAdmin Configuration
|
|
PGADMIN_EMAIL=admin@example.com
|
|
PGADMIN_PASSWORD=admin
|
|
|
|
# JWT & Authentication
|
|
JWT_SECRET=development_insecure_jwt_secret_change_me
|
|
JWT_ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=1440
|
|
|
|
# SSO Google OAuth (Optional in development / MockDevAdapter active)
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GOOGLE_REDIRECT_URI=http://localhost:8000/v1/auth/callback
|