✨ feat(fleetledger): add initial implementation of FleetLedger app
- introduce Dockerfile for Python environment setup - create FastAPI app with authentication and user management - implement server management features with CRUD operations - add PWA support with service worker and manifest - set up initial templates for UI components 📝 docs(fleetledger): add README for FleetLedger application - describe app features and functionalities - provide security notes and quick start guide 📦 build(fleetledger): configure Docker and docker-compose setup - define Dockerfile for application container - create docker-compose.yml for service orchestration - specify environment variables and volumes for persistence
This commit is contained in:
parent
0151bf19f6
commit
b9cfefa3a9
24 changed files with 2598 additions and 0 deletions
21
fleetledger/docker-compose.yml
Normal file
21
fleetledger/docker-compose.yml
Normal 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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue