21 lines
379 B
Plaintext
21 lines
379 B
Plaintext
# Server Configuration
|
|
SERVER_PORT=8080
|
|
SERVER_HOST=0.0.0.0
|
|
ENV=development
|
|
|
|
# Database Configuration
|
|
# Options: sqlite, mysql
|
|
DB_TYPE=sqlite
|
|
SQLITE_PATH=./data/admintemplate.db
|
|
|
|
# MySQL Configuration (if DB_TYPE=mysql)
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_USER=root
|
|
DB_PASSWORD=
|
|
DB_NAME=admintemplate
|
|
|
|
# Authentication
|
|
JWT_SECRET=change-this-secret-in-production
|
|
TOKEN_DURATION=24
|