-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
28 lines (24 loc) · 1.25 KB
/
.env.example
File metadata and controls
28 lines (24 loc) · 1.25 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
# Database (Postgres)
# Format: postgres://USER:PASSWORD@HOST:PORT/DATABASE
# If you use pgbouncer or connection poolers, keep the params
DATABASE_URL="postgres://USER:PASSWORD@HOST:5432/videmo?pgbouncer=true&connection_limit=1"
# Clerk (authentication)
# - NEXT_PUBLIC... keys are safe for client-side usage
# - CLERK_SECRET_KEY must remain server-side
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_test_your_clerk_publishable_key_here"
CLERK_SECRET_KEY="sk_test_your_clerk_secret_key_here"
NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL="/auth/callback"
NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL="/auth/callback"
# Stripe
# - `STRIPE_CLIENT_SECRET` is your Stripe secret (server only)
# - `STRIPE_SUBSCRIPTION_PRICE_ID` is the price/product id used for subscriptions
STRIPE_CLIENT_SECRET="your_stripe_client_secret_here"
STRIPE_SUBSCRIPTION_PRICE_ID="your_stripe_price_id_here"
# Host / CDN URLs
# - `NEXT_PUBLIC_HOST_URL` should match your frontend origin
# - `NEXT_PUBLIC_CLOUD_FRONT_STREAM_URL` used for signed/served streams
NEXT_PUBLIC_HOST_URL="http://localhost:3000"
NEXT_PUBLIC_CLOUD_FRONT_STREAM_URL="http://localhost:9000/videmo"
# Mailer credentials (used by server for sending email)
MAILER_EMAIL="your_mailer_email_here"
MAILER_PASSWORD="your_mailer_password_here"