feat(07-01): create config/ folder and YAML example files
- Added backend.yaml.example with AI, DB, auth, and logging schema - Added frontend.yaml.example with API and feature flag schema - Added network.yaml.example with ports and SSL schema - Added docker.yaml.example with resource and volume schema - Added secrets.yaml.example as a template for sensitive data - All files include comprehensive comments documenting every variable
This commit is contained in:
61
config/docker.yaml.example
Normal file
61
config/docker.yaml.example
Normal file
@@ -0,0 +1,61 @@
|
||||
# =============================================================================
|
||||
# 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"
|
||||
Reference in New Issue
Block a user