test
This commit is contained in:
parent
b9cfefa3a9
commit
f113a760af
3 changed files with 13 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
.env
|
||||||
|
fleetledger/.env
|
||||||
7
fleetledger/.env-example
Normal file
7
fleetledger/.env-example
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Copy this file to .env and fill in strong values for production.
|
||||||
|
SESSION_SECRET=changeme_super_secret_value
|
||||||
|
# Set to 1 for HTTPS deployments; set to 0 only for local HTTP testing.
|
||||||
|
SESSION_COOKIE_SECURE=1
|
||||||
|
DATABASE_PATH=/data/fleetledger.db
|
||||||
|
# Optional: Fernet key for encrypting management passwords (leave empty to disable)
|
||||||
|
ENCRYPTION_KEY=
|
||||||
|
|
@ -75,6 +75,10 @@ FleetLedger is a small self-hosted web app to keep track of your rented servers:
|
||||||
|
|
||||||
## Quick Start (Docker)
|
## Quick Start (Docker)
|
||||||
|
|
||||||
|
### 0. Environment
|
||||||
|
|
||||||
|
Kopiere `.env-example` nach `.env` und setze mindestens ein starkes `SESSION_SECRET`. Für lokale HTTP-Tests kannst du `SESSION_COOKIE_SECURE=0` setzen, in Produktion sollte es `1` bleiben. Optional kannst du einen `ENCRYPTION_KEY` (Fernet) hinterlegen, um Management-Passwörter zu speichern.
|
||||||
|
|
||||||
### 1. Clone / copy the repository
|
### 1. Clone / copy the repository
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue