implement .env configuration support and restrict web interface to localhost
This commit is contained in:
parent
6ce356ffed
commit
40c5cbef1c
3 changed files with 11 additions and 4 deletions
7
.env.example
Normal file
7
.env.example
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Web interface authentication password
|
||||
WEB_PASSWORD=admin
|
||||
|
||||
# Encryption key for securing stored OTP secrets
|
||||
# You MUST change this for a production deployment!
|
||||
# Generate a secure key using: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
|
||||
ENCRYPTION_KEY=CHANGE_ME_TO_A_VALID_FERNET_KEY
|
||||
Loading…
Add table
Add a link
Reference in a new issue