feat: bootstrap NestJS backend with auth, stations, users, health-check, now-playing
This commit is contained in:
25
.env.example
Normal file
25
.env.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# Database
|
||||
DATABASE_URL=postgresql://radiola:radiola_pass@localhost:5432/radiola?schema=public
|
||||
|
||||
# Redis
|
||||
REDIS_URL=redis://localhost:6379
|
||||
|
||||
# JWT
|
||||
JWT_SECRET=your-super-secret-jwt-key-change-in-production
|
||||
JWT_EXPIRES_IN=7d
|
||||
|
||||
# SMTP (for magic links)
|
||||
SMTP_HOST=smtp.example.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=noreply@example.com
|
||||
SMTP_PASS=your-smtp-password
|
||||
MAIL_FROM=radiOLA <noreply@example.com>
|
||||
|
||||
# App
|
||||
FRONTEND_URL=https://radiola.app
|
||||
PORT=3000
|
||||
|
||||
# Postgres (for docker-compose)
|
||||
POSTGRES_USER=radiola
|
||||
POSTGRES_PASSWORD=radiola_pass
|
||||
POSTGRES_DB=radiola
|
||||
Reference in New Issue
Block a user