.env.template
This commit is contained in:
36
.env.template
Normal file
36
.env.template
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# Flask
|
||||||
|
FLASK_SECRET_KEY=your-secret-key
|
||||||
|
|
||||||
|
# MariaDB container
|
||||||
|
MYSQL_HOST=db
|
||||||
|
MYSQL_DATABASE=radius
|
||||||
|
MYSQL_USER=radiususer
|
||||||
|
MYSQL_PASSWORD=radiuspass
|
||||||
|
|
||||||
|
# MAC Lookup API
|
||||||
|
OUI_API_KEY= # only required if you want to increase the OUI limits
|
||||||
|
OUI_API_URL=https://api.maclookup.app/v2/macs/{}
|
||||||
|
|
||||||
|
# Rate Limits
|
||||||
|
OUI_API_LIMIT_PER_SEC=2
|
||||||
|
OUI_API_DAILY_LIMIT=10000
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
LOG_TO_FILE=true
|
||||||
|
LOG_FILE_PATH=/app/logs/app.log
|
||||||
|
|
||||||
|
# Timezone
|
||||||
|
APP_TIMEZONE=America/Toronto
|
||||||
|
|
||||||
|
# Database config
|
||||||
|
DB_HOST=db
|
||||||
|
DB_PORT=3306
|
||||||
|
DB_USER=radiususer
|
||||||
|
DB_PASSWORD=radiuspass
|
||||||
|
DB_NAME=radius
|
||||||
|
|
||||||
|
# RADIUS config
|
||||||
|
RADIUS_SECRET=changeme
|
||||||
|
RADIUS_PORT=1812
|
||||||
|
DEFAULT_VLAN=505 # Fallback VLAN when MAC not found
|
||||||
|
DENIED_VLAN=999
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,6 +4,5 @@ __pycache__/
|
|||||||
*.log
|
*.log
|
||||||
/app/logs/
|
/app/logs/
|
||||||
instance/
|
instance/
|
||||||
.env.*
|
|
||||||
.vscode/
|
.vscode/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Reference in New Issue
Block a user