chore(env): Present example env file properly

This commit is contained in:
2025-04-08 21:55:17 +08:00
parent 92f011282d
commit 786979f005
3 changed files with 14 additions and 5 deletions

12
.env.example Normal file
View File

@@ -0,0 +1,12 @@
# .env (in the root directory)
# MariaDB Credentials (used by docker-compose to init the DB)
MARIADB_ROOT_PASSWORD=supersecretroot
MARIADB_DATABASE=lms_db
MARIADB_USER=lms_user
MARIADB_PASSWORD=lms_password
# Backend Configuration (can override defaults)
# SERVER_ADDR=0.0.0.0:8080 # Already set in compose file
RUST_LOG=info,lms_backend=debug # Example: Set backend log level to debug
# SECRET_KEY=your_secret_for_jwt_if_used # Needed if switching to JWT sessions