-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (25 loc) · 854 Bytes
/
Copy path.env.example
File metadata and controls
32 lines (25 loc) · 854 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
30
31
32
# Postgres container configuration
POSTGRES_USER=contractorpay
POSTGRES_PASSWORD=change_me_to_a_strong_password
POSTGRES_DB=contractorpay
# App database URL (service name "db" is the host on compose network)
DATABASE_URL=postgres://contractorpay:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
# Optional: Bun/Node environment
NODE_ENV=production
PORT=3000
# Security (JWT signing)
SECRET_KEY=replace_with_a_strong_random_secret
# Admin seeding (used when users table is empty)
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=change_me_admin_password
# CORS
# Comma-separated list of allowed origins for the API
ALLOWED_ORIGINS=http://localhost:3000
# Password hashing (Bun.argon2 options)
# Tune as needed; defaults exist in code if unset
MEMORY_COST=4
TIME_COST=3
# Alternate DB URL envs supported by code (optional)
# POSTGRES_URL=
# PGURL=
# PG_URL=