# ============================================================================= # TFM aInventory - Docker Configuration Schema (v1.12.0) # ============================================================================= # Purpose: Resource limits, image tags, and volume management for Docker. # ============================================================================= # --- Image Management --- images: # Backend container image name and tag # Default: backend:latest backend_image: "backend:latest" # Frontend container image name and tag # Default: frontend:latest frontend_image: "frontend:latest" # Proxy container image name and tag # Default: caddy:latest proxy_image: "caddy:latest" # --- Resource Constraints --- resources: # CPU limit for the backend container # Default: 1.0 (1 core) backend_cpu_limit: "1.0" # Memory limit for the backend container # Default: 1G backend_memory_limit: "1G" # CPU limit for the frontend container # Default: 0.5 (0.5 core) frontend_cpu_limit: "0.5" # Memory limit for the frontend container # Default: 512M frontend_memory_limit: "512M" # --- Volume Management --- volumes: # Driver to use for data volume # Default: local data_volume_driver: "local" # Driver to use for logs volume # Default: local logs_volume_driver: "local" # Use named volumes instead of bind mounts for persistence? # Default: true use_named_volumes: true # --- Networking --- network: # Internal Docker network name # Default: inventory-net network_name: "inventory-net" # Internal Docker network driver # Default: bridge network_driver: "bridge"