27 lines
933 B
Plaintext
27 lines
933 B
Plaintext
|
|
# Solo Deployment Infrastructure Configuration
|
||
|
|
# Single-node minimal setup for development/testing
|
||
|
|
# 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 - Solo Mode Services
|
||
|
|
# Minimal resource allocation: 1 CPU, 1GB RAM per service
|
||
|
|
docker_compose_services = docker_schema.soloModePreset,
|
||
|
|
|
||
|
|
# Nginx - Solo Load Balancer Configuration
|
||
|
|
# Simple upstream routing to localhost services
|
||
|
|
nginx_config = nginx_schema.soloNginxPreset,
|
||
|
|
|
||
|
|
# Prometheus - Solo Monitoring Setup
|
||
|
|
# Basic scrape jobs for solo deployment
|
||
|
|
prometheus_config = prometheus_schema.soloPrometheusPreset,
|
||
|
|
|
||
|
|
# OCI Registry - Solo Registry Backend
|
||
|
|
# Filesystem-based storage for container images
|
||
|
|
oci_registry_config = oci_schema.soloRegistryPreset,
|
||
|
|
}
|