-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
59 lines (51 loc) · 1.88 KB
/
.env.example
File metadata and controls
59 lines (51 loc) · 1.88 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# OpenAI API Key (required for chat features)
OPENAI_API_KEY=sk-proj-
# Better Auth secret for JWT signing (generate with: openssl rand -base64 32)
BETTER_AUTH_SECRET=your-32-char-secret-here
# -----------------------------------------------------------------------------
# DATABASE (Docker uses internal postgres, no DATABASE_URL needed here)
# -----------------------------------------------------------------------------
# Docker-compose sets DATABASE_URL for each service internally.
# Only POSTGRES_PASSWORD is used from this file.
# PostgreSQL password
POSTGRES_PASSWORD=postgres
# -----------------------------------------------------------------------------
# OPTIONAL - ChatKit
# -----------------------------------------------------------------------------
# ChatKit domain key (for OpenAI ChatKit integration)
NEXT_PUBLIC_CHATKIT_DOMAIN_KEY=domain_pk_local_dev
# -----------------------------------------------------------------------------
# OPTIONAL - Email (for SSO email verification)
# -----------------------------------------------------------------------------
# SMTP Configuration (Gmail, custom SMTP)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=
SMTP_PASS=""
SMTP_SECURE=false
EMAIL_FROM=no-reply@taskflow.org
# =============================================================================
# USAGE:
#
# # Start all services
# docker compose up -d
#
# # View logs
# docker compose logs -f
#
# # First-time setup (run migrations and seed)
# docker compose exec sso-platform npx drizzle-kit push
# docker compose exec sso-platform pnpm seed:setup
#
# # Access
# - Dashboard: http://localhost:3000
# - SSO: http://localhost:3001
# - API: http://localhost:8000/docs
# - MCP: http://localhost:8001/mcp
#
# # Stop
# docker compose down
#
# # Reset (delete volumes)
# docker compose down -v
# =============================================================================