-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.production
31 lines (28 loc) · 1.13 KB
/
.env.production
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
# ========================
# General Configuration
# ========================
PORT=3000 # Application port
NODE_ENV=development # Environment: development, production, or staging
PREFIX_API=api
# ========================
# Database Configuration
# ========================
DB_TYPE=mysql # Database type: mysql or postgres
DB_HOST=mysql # Database host (service name in Docker)
DB_PORT=3306 # Database port
DB_USERNAME=admin # Database username
DB_PASSWORD=password # Database password
DB_NAME=my_database # Database name
# ========================
# Swagger Configuration
# ========================
SWAGGER_TITLE=My Awesome API # Title of the Swagger documentation
SWAGGER_DESCRIPTION=Detailed API documentation for My Awesome API # Description of the API
SWAGGER_VERSION=2.0 # API version for Swagger
SWAGGER_PATH=api/docs # URL path for Swagger UI
SWAGGER_BEARER_AUTH=true # Enable bearer authentication in Swagger
# ========================
# JWT Configuration
# ========================
JWT_SECRET=my_super_secret_key
JWT_EXPIRES_IN=1h