-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
36 lines (28 loc) · 958 Bytes
/
Copy path.env.example
File metadata and controls
36 lines (28 loc) · 958 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
33
34
35
36
# Root Environment Variables for docker-compose
# Database
POSTGRES_USER=shawty
POSTGRES_PASSWORD=shawtyrools
POSTGRES_DB=shawtylink
# Security - CHANGE THIS IN PRODUCTION!
SECRET_KEY=supersecretkeyCHANGE_ME_IN_PROD
# Admin User
INITIAL_ADMIN_EMAIL=admin@shawty.link
INITIAL_ADMIN_PASSWORD=admin123
# CORS
ALLOWED_ORIGINS=http://localhost:1603,http://localhost:3000
# Frontend URL (for password-protected link redirects)
FRONTEND_URL=http://localhost:1603
# Email Configuration (SMTP)
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=your-email@gmail.com
EMAIL_PASSWORD=your-app-password
EMAIL_FROM=noreply@shawty.link
LOGO_URL=https://github.com/awpetrik/ShawtyLink/blob/main/shawtylink.png
# Advanced / Optional
ENV=production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=60
# Internal Service URLs (Override if external)
REDIS_URL=redis://redis:6379
DATABASE_URL=postgresql+asyncpg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}