server-verwaltung/docker-compose.yml
nocci d7e95c5580 🔧 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
2025-12-06 12:08:20 +00:00

18 lines
670 B
YAML

version: "3.9"
services:
fleetledger:
build: .
container_name: fleetledger
ports:
- "8000:8000"
environment:
- 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
- SESSION_COOKIE_SECURE=${SESSION_COOKIE_SECURE:-1}
# Optional: encryption key for management passwords (Fernet key)
# - ENCRYPTION_KEY=your_fernet_key_here
volumes:
- ./data:/app/data
restart: unless-stopped