27 lines
1011 B
Plaintext
27 lines
1011 B
Plaintext
|
|
# Enterprise Deployment Infrastructure Configuration
|
||
|
|
# High-availability, distributed setup for production
|
||
|
|
# Exports individual infrastructure components
|
||
|
|
|
||
|
|
let docker_schema = import "docker-compose.ncl" in
|
||
|
|
let nginx_schema = import "nginx.ncl" in
|
||
|
|
let prometheus_schema = import "prometheus.ncl" in
|
||
|
|
let oci_schema = import "oci-registry.ncl" in
|
||
|
|
|
||
|
|
{
|
||
|
|
# Docker Compose - Enterprise Mode Services
|
||
|
|
# HA setup with 3 replicas, high resource allocation
|
||
|
|
docker_compose_services = docker_schema.enterpriseModePreset,
|
||
|
|
|
||
|
|
# Nginx - Enterprise Load Balancer Configuration
|
||
|
|
# Multiple upstream pools with rate limiting and failover
|
||
|
|
nginx_config = nginx_schema.enterpriseNginxPreset,
|
||
|
|
|
||
|
|
# Prometheus - Enterprise Monitoring Setup
|
||
|
|
# Full scrape jobs for all services with remote storage
|
||
|
|
prometheus_config = prometheus_schema.enterprisePrometheusPreset,
|
||
|
|
|
||
|
|
# OCI Registry - Enterprise Registry Backend
|
||
|
|
# S3-backed distributed storage with replication
|
||
|
|
oci_registry_config = oci_schema.enterpriseRegistryPreset,
|
||
|
|
}
|