feat: add .env.example
This commit is contained in:
15
.env.example
15
.env.example
@@ -13,26 +13,11 @@ DB_SSLMODE=disable
|
|||||||
# Server Configuration
|
# Server Configuration
|
||||||
SERVER_HOST=0.0.0.0
|
SERVER_HOST=0.0.0.0
|
||||||
SERVER_PORT=8080
|
SERVER_PORT=8080
|
||||||
SERVER_READ_TIMEOUT=30
|
|
||||||
SERVER_WRITE_TIMEOUT=30
|
|
||||||
SERVER_IDLE_TIMEOUT=120
|
|
||||||
SERVER_MAX_HEADER_BYTES=1048576
|
|
||||||
SERVER_ENABLE_TLS=false
|
|
||||||
SERVER_TLS_CERT_FILE=
|
|
||||||
SERVER_TLS_KEY_FILE=
|
|
||||||
|
|
||||||
# JWT Configuration
|
# JWT Configuration
|
||||||
# IMPORTANT: Generate a secure random secret (minimum 32 characters)
|
# IMPORTANT: Generate a secure random secret (minimum 32 characters)
|
||||||
# Example: openssl rand -base64 32
|
# Example: openssl rand -base64 32
|
||||||
JWT_SECRET=your-secure-secret-key-minimum-32-characters-long
|
JWT_SECRET=your-secure-secret-key-minimum-32-characters-long
|
||||||
JWT_EXPIRATION=1
|
|
||||||
JWT_REFRESH_EXPIRATION=168
|
|
||||||
JWT_ISSUER=goyco
|
|
||||||
JWT_AUDIENCE=goyco-users
|
|
||||||
JWT_KEY_ROTATION_ENABLED=false
|
|
||||||
JWT_CURRENT_KEY=
|
|
||||||
JWT_PREVIOUS_KEY=
|
|
||||||
JWT_KEY_ID=default
|
|
||||||
|
|
||||||
# SMTP Configuration
|
# SMTP Configuration
|
||||||
SMTP_HOST=smtp.example.com
|
SMTP_HOST=smtp.example.com
|
||||||
|
|||||||
Reference in New Issue
Block a user