-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (56 loc) · 2.27 KB
/
.env.example
File metadata and controls
68 lines (56 loc) · 2.27 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
66
67
68
# ==================================
# Musivault Environment Configuration
# ==================================
# Server Configuration
# ==================================
# The port where the application will be accessible (Frontend/Nginx)
PORT=3000
# Backend hostname and port for Nginx routing (Docker internal)
# BACKEND_HOST=musivault-backend
# BACKEND_PORT=5000
# Docker Configuration
# ==================================
# Docker image tag to use
IMAGE_TAG=latest
# Database Configuration
# ==================================
# Local MongoDB (default, included in docker-compose)
MONGO_URI=mongodb://mongodb:27017/musivault
# Price cache TTL in hours (default: 168 = 7 days)
PRICE_CACHE_TTL_HOURS=168
# Security & Sessions
# ==================================
# Generate a strong random string for production
# You can generate one with: openssl rand -base64 32
SESSION_SECRET=your-super-secret-session-key-change-this-in-production
# JWT Secret (optional - defaults to SESSION_SECRET if not set)
# JWT_SECRET=your-jwt-secret-key
# Discogs API Configuration
# ==================================
# Get your API credentials at: https://www.discogs.com/settings/developers
DISCOGS_KEY=your-discogs-consumer-key
DISCOGS_SECRET=your-discogs-consumer-secret
# Discogs Personal Access Token (optional)
# Required for collection value estimation (price suggestions)
# You must have a Discogs seller account configured on Discogs
# Generate a token at: https://www.discogs.com/settings/developers
# DISCOGS_PAT=your-discogs-personal-access-token
# Node Environment
NODE_ENV=production
# Initial Admin User (optional)
# ==================================
# Set these to create an admin user on first startup.
# Remove these variables after the admin is created!
# ADMIN_EMAIL=admin@example.com
# ADMIN_USERNAME=admin
# ADMIN_PASSWORD=YourSecurePassword123!
# OIDC / SSO Configuration (optional)
# ==================================
# To enable Single Sign-On, configure the following:
# OIDC_ISSUER=https://your-identity-provider.com
# OIDC_CLIENT_ID=your-client-id
# OIDC_CLIENT_SECRET=your-client-secret
# OIDC_REDIRECT_URI=http://localhost:5001/api/auth/oidc/callback
# OIDC_PROVIDER_NAME=Authentik # Displayed on login button
# Frontend URL (for OIDC redirects and CORS)
# FRONTEND_URL=http://localhost:5173