-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (25 loc) · 904 Bytes
/
.env.example
File metadata and controls
29 lines (25 loc) · 904 Bytes
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
# Shared environment variables for docker-compose.
# Local: copy to .env and fill values.
# GitHub Actions: set these as repository/environment secrets and export to runner env.
# Postgres
DB_HOST=db
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=change_me
DB_NAME=trinityshop
# Backend
PORT=3000
JWT_SECRET=replace_with_a_long_random_secret
REFRESH_TOKEN_SECRET=replace_with_a_second_long_random_secret
NODE_ENV=development
CORS_ORIGINS=https://localhost:19006
ALLOW_INSECURE_HTTP=true
# PayPal (Sandbox)
PAYPAL_CLIENT_ID=replace_with_paypal_sandbox_client_id
PAYPAL_CLIENT_SECRET=replace_with_paypal_sandbox_client_secret
PAYPAL_MODE=sandbox
PAYPAL_RETURN_URL=https://example.com/payment-success
PAYPAL_CANCEL_URL=https://example.com/payment-cancel
# Frontend (Expo web PayPal button)
EXPO_PUBLIC_PAYPAL_CLIENT_ID=replace_with_paypal_sandbox_client_id
EXPO_PUBLIC_API_BASE_URL=https://10.0.2.2:3443/api