-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
65 lines (56 loc) · 1.95 KB
/
Copy path.env.example
File metadata and controls
65 lines (56 loc) · 1.95 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
# =============================================================================
# GRIT — Environment Variable Template
# =============================================================================
#
# HOW TO USE THIS FILE:
#
# Local development:
# Copy this file to .env and fill in your real values.
# 'make init-env'
# .env is git-ignored and will never be committed.
#
# GitHub Codespaces / Production:
# Ideally, do NOT use .env files. Instead, set each variable below as a
# repository/environment secret (GitHub → Settings → Secrets and variables)
# or as a Codespace secret. System environment variables always take
# precedence over any .env file.
# When no repo/environment secrets are provided, .env file is needed
#
# =============================================================================
APP_NAME=GRIT
APP_BASE_URL=http://localhost:5173
# =====================
# Node environment
# =====================
# Options: development | test | production
NODE_ENV=development
# =====================
# Secrets (required)
# =====================
POSTGRES_DB=your_db_name_here
POSTGRES_USER=your_user_here
POSTGRES_PASSWORD=your_password_here_at_least_10_chars
MINIO_USER=your_user_here
MINIO_PASSWORD=your_password_here_at_least_10_chars
# Authentication
JWT_SECRET=a_very_long_random_string_here_at_least_32_chars
# Email service (e.g. Mailtrap for dev, real SMTP for prod)
MAIL_USER=your_smtp_username
MAIL_PASS=your_smtp_password
# Google OAuth
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# Google Maps (frontend)
VITE_GOOGLE_MAPS_API=your_google_maps_api_key
# =====================
# Optional Port overrides
# =====================
# Port configurations have sensible defaults as shown below.
# Only set these if you need to change them (e.g. 42 network blocks 80/443).
BE_PORT=3000
FE_PORT=5173
DB_PORT=5432
MINIO_PORT=9000
MINIO_DASHBOARD_PORT=9001
HTTP_PORT=8080
HTTPS_PORT=8443