-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (24 loc) · 1.78 KB
/
Copy path.env.example
File metadata and controls
28 lines (24 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ── Flask Application Settings ─────────────────────────────────────────────
FLASK_APP=src.app:create_app
FLASK_ENV=development
# ── Local PostgreSQL (Docker) ──────────────────────────────────────────────
# Start with: make db-up
POSTGRES_PASSWORD=your_local_postgres_password
DEVSYNC_POSTGRES_PORT=5432
# Use 'localhost' when running backend on host, 'devsync-postgres' when running in Docker
DATABASE_URL=postgresql://devsync:your_local_postgres_password@localhost:${DEVSYNC_POSTGRES_PORT}/devsync?sslmode=disable
# ── Authentication ─────────────────────────────────────────────────────────
JWT_SECRET_KEY=change-me-in-local-env
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=60
# Refresh token — optional for development; required for production session persistence
# JWT_REFRESH_SECRET_KEY=change-me-refresh-secret
# JWT_REFRESH_TOKEN_EXPIRE_DAYS=30
# ── GitHub OAuth ───────────────────────────────────────────────────────────
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
GITHUB_REDIRECT_URI=http://localhost:8000/api/v1/github/callback
FRONTEND_URL=http://localhost:3000
# ── Frontend (Docker) ──────────────────────────────────────────────────────
# Port the frontend is published on (default: 3000)
DEVSYNC_FRONTEND_PORT=3000