-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.prod.example
More file actions
50 lines (41 loc) · 3.29 KB
/
Copy path.env.prod.example
File metadata and controls
50 lines (41 loc) · 3.29 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
# ══════════════════════════════════════════════════════════════════════════════
# Cricket Auction Platform - PRODUCTION Environment
# ══════════════════════════════════════════════════════════════════════════════
# Copy this file to .env.prod and fill in your values
# Usage: docker compose -f docker-compose.prod.yml --env-file .env.prod up -d
# ══════════════════════════════════════════════════════════════════════════════
# ── Domain / TLS (Traefik) - REQUIRED ────────────────────────────────────────
# Your domain name (must point to your server's IP)
PUBLIC_DOMAIN=auction.yourdomain.com
# Email for Let's Encrypt SSL certificate notifications
TRAEFIK_ACME_EMAIL=admin@yourdomain.com
# ── Site URL (for email links) ───────────────────────────────────────────────
SITE_URL=https://auction.yourdomain.com
# ── App Secrets - REQUIRED ───────────────────────────────────────────────────
# Generate with: openssl rand -hex 32
SECRET_KEY=CHANGE_ME_generate_with_openssl_rand_hex_32
GODMODE_SECRET=CHANGE_ME_generate_with_openssl_rand_hex_32
# ── Database ─────────────────────────────────────────────────────────────────
# Option 1: Use Docker's PostgreSQL (default)
POSTGRES_USER=auction
POSTGRES_PASSWORD=CHANGE_ME_strong_password
POSTGRES_DB=auction
# Option 2: Use external PostgreSQL (AWS RDS, Supabase, Neon, etc.)
# Set DATABASE_URL and remove db service from docker-compose.prod.yml
# DATABASE_URL=postgresql+asyncpg://user:password@your-host:5432/auction
# ── Redis ────────────────────────────────────────────────────────────────────
# Option 1: Use Docker's Redis (default)
REDIS_URL=redis://redis:6379
# Option 2: Use external Redis (AWS ElastiCache, Upstash, etc.)
# REDIS_URL=redis://user:password@your-redis-host:6379
# ── AWS SES (Email) - OPTIONAL ───────────────────────────────────────────────
# Leave empty to disable email invitations
AWS_MAIL_ACCESS_KEY_ID=
AWS_MAIL_SECRET_ACCESS_KEY=
AWS_REGION=ap-south-1
EMAIL_FROM=auction@yourdomain.com
# ── AWS S3 (Profile Photos) - OPTIONAL ───────────────────────────────────────
# Leave empty to use local file storage
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_BUCKET_NAME=