-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (39 loc) · 1.93 KB
/
.env.example
File metadata and controls
48 lines (39 loc) · 1.93 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
# .env.example
# Copy this file to .env and fill in your values
# DO NOT commit your actual .env file to version control
#
# These variables are used by both docker-compose and local development.
# -----------------------------------------------------------------------------
# Database Configuration
# -----------------------------------------------------------------------------
# Connection string for the database.
# For SQLite (default dev): Data Source=documentgenerator.db
# For SQL Server: Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;
DATABASE_CONNECTION_STRING=Data Source=documentgenerator.db
# -----------------------------------------------------------------------------
# JWT Authentication
# -----------------------------------------------------------------------------
# Secret key for signing JWT tokens. Must be at least 32 characters long.
# Generate a secure random string for production.
JWT_SECRET=your-super-secret-key-change-this-in-production-must-be-long
# The issuer of the token (e.g., your app name or domain)
JWT_ISSUER=DocForge
# The audience of the token (who the token is intended for)
JWT_AUDIENCE=DocForge
# Token expiration time in minutes
JWT_EXPIRATION_MINUTES=60
# Refresh token expiration time in days
REFRESH_TOKEN_EXPIRATION_DAYS=7
# -----------------------------------------------------------------------------
# CORS Configuration
# -----------------------------------------------------------------------------
# Comma-separated list of allowed origins for CORS.
# In development, this is usually your frontend URL.
ALLOWED_ORIGINS=http://localhost:5173
# -----------------------------------------------------------------------------
# Application Settings
# -----------------------------------------------------------------------------
# Environment (Development, Staging, Production)
ASPNETCORE_ENVIRONMENT=Development
# Port to run the API on (if not using default)
# PORT=5257