🔧 chore(repo): restructure project file hierarchy

- move project files out of fleetledger directory to root
- update .gitignore to reflect new .env path

📝 docs(README): add detailed project description

- provide an overview of FleetLedger's features and usage
- include setup instructions and security notes
This commit is contained in:
nocci 2025-12-06 11:56:16 +00:00
parent f113a760af
commit ea06f16407
27 changed files with 86 additions and 87 deletions

21
docker-compose.yml Normal file
View file

@ -0,0 +1,21 @@
version: "3.9"
services:
fleetledger:
build: .
container_name: fleetledger
ports:
- "8000:8000"
environment:
- DATABASE_PATH=/data/fleetledger.db
# SESSION_SECRET must be provided (e.g. via .env) and should be long and random
- SESSION_SECRET=${SESSION_SECRET:?Set SESSION_SECRET in your environment}
# Set to 0 only for local HTTP testing; keep secure (default) in production
- SESSION_COOKIE_SECURE=${SESSION_COOKIE_SECURE:-1}
# Optional: encryption key for management passwords (Fernet key)
# - ENCRYPTION_KEY=your_fernet_key_here
volumes:
- fleetledger_data:/data
restart: unless-stopped
volumes:
fleetledger_data: