mirror of
https://github.com/kristoferssolo/Axium.git
synced 2026-02-04 05:22:02 +00:00
first commit
This commit is contained in:
68
.env.example
Normal file
68
.env.example
Normal file
@@ -0,0 +1,68 @@
|
||||
# ==============================
|
||||
# 📌 DATABASE CONFIGURATION
|
||||
# ==============================
|
||||
|
||||
# PostgreSQL connection URL (format: postgres://user:password@host/database)
|
||||
DATABASE_URL="postgres://postgres:1234@localhost/database_name"
|
||||
|
||||
# Maximum number of connections in the database pool
|
||||
DATABASE_MAX_CONNECTIONS=20
|
||||
|
||||
# Minimum number of connections in the database pool
|
||||
DATABASE_MIN_CONNECTIONS=5
|
||||
|
||||
# ==============================
|
||||
# 🌍 SERVER CONFIGURATION
|
||||
# ==============================
|
||||
|
||||
# IP address the server will bind to (0.0.0.0 allows all network interfaces)
|
||||
SERVER_IP="0.0.0.0"
|
||||
|
||||
# Port the server will listen on
|
||||
SERVER_PORT="3000"
|
||||
|
||||
# Enable tracing for debugging/logging (true/false)
|
||||
SERVER_TRACE_ENABLED=true
|
||||
|
||||
# ==============================
|
||||
# 🔒 HTTPS CONFIGURATION
|
||||
# ==============================
|
||||
|
||||
# Enable HTTPS (true/false)
|
||||
SERVER_HTTPS_ENABLED=false
|
||||
|
||||
# Enable HTTP/2 when using HTTPS (true/false)
|
||||
SERVER_HTTPS_HTTP2_ENABLED=true
|
||||
|
||||
# Path to the SSL certificate file (only used if SERVER_HTTPS_ENABLED=true)
|
||||
SERVER_HTTPS_CERT_FILE_PATH=cert.pem
|
||||
|
||||
# Path to the SSL private key file (only used if SERVER_HTTPS_ENABLED=true)
|
||||
SERVER_HTTPS_KEY_FILE_PATH=key.pem
|
||||
|
||||
# ==============================
|
||||
# 🚦 RATE LIMIT CONFIGURATION
|
||||
# ==============================
|
||||
|
||||
# Maximum number of requests allowed per period
|
||||
SERVER_RATE_LIMIT=5
|
||||
|
||||
# Time period (in seconds) for rate limiting
|
||||
SERVER_RATE_LIMIT_PERIOD=1
|
||||
|
||||
# ==============================
|
||||
# 📦 COMPRESSION CONFIGURATION
|
||||
# ==============================
|
||||
|
||||
# Enable Brotli compression (true/false)
|
||||
SERVER_COMPRESSION_ENABLED=true
|
||||
|
||||
# Compression level (valid range: 0-11, where 11 is the highest compression)
|
||||
SERVER_COMPRESSION_LEVEL=6
|
||||
|
||||
# ==============================
|
||||
# 🔑 AUTHENTICATION CONFIGURATION
|
||||
# ==============================
|
||||
|
||||
# Argon2 salt for password hashing (must be kept secret!)
|
||||
AUTHENTICATION_ARGON2_SALT="dMjQgtSmoQIH3Imi"
|
||||
Reference in New Issue
Block a user