-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
72 lines (57 loc) · 2.06 KB
/
Copy path.env.example
File metadata and controls
72 lines (57 loc) · 2.06 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
60
61
62
63
64
65
66
67
68
69
70
71
72
# MyArtverse Backend Config
MA_PORT=8081
MA_INTERFACE=0.0.0.0
# Frontend URL (production — Vercel)
# FRONTEND_URL=https://dev.myartverse.app
# FRONTEND_ORIGINS=https://dev.myartverse.app,https://dev.myartverse.dev
# Frontend parts (local dev fallback)
MA_FRONTEND_DOMAIN=localhost
MA_FRONTEND_PORT=3000
MA_FRONTEND_HTTP=http://
# Cookie domain — scoped to API host (not the Vercel frontend domain)
# COOKIE_DOMAIN=.myartverse.app
MA_JWT_SECRET=JWT_SECRET
MA_COOKIE_SECRET=cookienomnom
MA_SESSION_SECRET=sessionnomnomsessionnomnomsessionnomnomsessionnomnom
# Postgres Database Config
DB_NAME=myartverse
DB_USER=postgres
DB_PASS=postgres
# localhost = Local Dev; postgres = Docker container
DB_HOST=localhost
DB_PORT=5432
# Email transport: smtp (local MailSlurper) or resend
EMAIL_TRANSPORT=resend
# Resend (production)
RESEND_API_KEY=
RESEND_FROM_EMAIL=MyArtverse <onboarding@resend.dev>
# SMTP (local dev — MailSlurper UI at http://localhost:8085)
SMTP_EMAIL_HOST=127.0.0.1
SMTP_EMAIL_PORT=2500
SMTP_EMAIL_SSL=false
SMTP_EMAIL_FROM=myartverse@myartverse.com
# AWS S3 — local dev uses MinIO; production uses IAM role (no keys, no endpoint)
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
S3_ENDPOINT=http://localhost:9000
S3_BUCKET=
# Production CDN base URL (CloudFront)
# S3_PUBLIC_URL=https://cdn.myartverse.app
GOOGLE_CLIENT_ID=VALUE_GO_HERE
GOOGLE_CLIENT_SECRET=VALUE_GO_HERE
GOOGLE_REDIRECT_URI=http://INTERFACE:PORT/v1/auth/google/callback
FACEBOOK_CLIENT_ID=VALUE_GO_HERE
FACEBOOK_CLIENT_SECRET=VALUE_GO_HERE
FACEBOOK_REDIRECT_URI=http://INTERFACE:PORT/v1/auth/facebook/callback
TWITTER_CLIENT_ID=VALUE_GO_HERE
TWITTER_CLIENT_SECRET=VALUE_GO_HERE
TWITTER_REDIRECT_URI=http://INTERFACE:PORT/v1/auth/x/callback
TIKTOK_CLIENT_ID=VALUE_GO_HERE
TIKTOK_CLIENT_SECRET=VALUE_GO_HERE
TIKTOK_REDIRECT_URI=http://INTERFACE:PORT/v1/auth/tiktok/callback
API_BASE_URL=http://INTERFACE:PORT
# Sentry (production error monitoring — optional locally)
# SENTRY_DSN=https://xxx@xxx.ingest.us.sentry.io/xxx
# SENTRY_ENVIRONMENT=production
# SENTRY_TRACES_SAMPLE_RATE=0.1