🔧 chore(env): update database path in environment files

- change DATABASE_PATH in .env-example and docker-compose.yml
- ensure consistency with Dockerfile for app directory structure

📦 build(docker): adjust Dockerfile for new data directory

- create /app/data directory for database storage
- update DATABASE_PATH environment variable accordingly

📝 docs(README): update README for German localization

- replace English sections with German equivalents
- adjust setup instructions to match new environment configurations
This commit is contained in:
nocci 2025-12-06 12:08:20 +00:00
parent ea06f16407
commit d7e95c5580
4 changed files with 58 additions and 83 deletions

View file

@ -6,7 +6,7 @@ services:
ports:
- "8000:8000"
environment:
- DATABASE_PATH=/data/fleetledger.db
- DATABASE_PATH=/app/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
@ -14,8 +14,5 @@ services:
# Optional: encryption key for management passwords (Fernet key)
# - ENCRYPTION_KEY=your_fernet_key_here
volumes:
- fleetledger_data:/data
- ./data:/app/data
restart: unless-stopped
volumes:
fleetledger_data: