implement .env configuration support and restrict web interface to localhost

This commit is contained in:
CPTN Cosmo 2026-04-18 16:36:25 +02:00
parent 6ce356ffed
commit 40c5cbef1c
3 changed files with 11 additions and 4 deletions

View file

@ -16,7 +16,7 @@ This application acts as a central manager. You can add the IP address, Port (de
## Setup & Running
1. Clone or copy this directory.
2. Edit `docker-compose.yml`:
2. Copy `.env.example` to `.env` and edit it:
- Change `WEB_PASSWORD` to your desired password for the web interface (the username can be anything, e.g., `admin`).
- Change `ENCRYPTION_KEY` to a securely generated Fernet key.
*You can generate one by running: `python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"`*