feat(iac): scaffold orca-platform layout (M1.1)
Lands manifests/, overlays/, dns/, scripts/, Makefile per M1.1. Bundles yourplatform.com→breakpilot.com rename. vms/ removed (out-of-scope for Orca). Refs: M1.1
This commit was merged in pull request #3.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# customer-portal stub — full config lands in M5.1.
|
||||
# Host: vm-control. Resource budget per INFRASTRUCTURE.md §6 co-tenant notes.
|
||||
|
||||
[[service]]
|
||||
name = "customer-portal"
|
||||
image = "registry.breakpilot.com/portal:placeholder"
|
||||
port = 3000
|
||||
domain = "*.breakpilot.com"
|
||||
depends_on = ["tenant-registry"]
|
||||
|
||||
[service.placement]
|
||||
node = "vm-control"
|
||||
|
||||
[service.resources]
|
||||
memory = "1Gi"
|
||||
cpu = 1.0
|
||||
|
||||
[service.env]
|
||||
KEYCLOAK_ISSUER = "https://auth.breakpilot.com/realms/breakpilot-prod"
|
||||
TENANT_REGISTRY_URL = "http://tenant-registry:8080"
|
||||
@@ -0,0 +1,25 @@
|
||||
# erpnext stub — full config lands in M8.1.
|
||||
# Host: vm-control. Resource budget per INFRASTRUCTURE.md §6 co-tenant notes.
|
||||
|
||||
[[service]]
|
||||
name = "erpnext"
|
||||
image = "frappe/erpnext:v15"
|
||||
port = 8000
|
||||
domain = "erp.breakpilot.com"
|
||||
depends_on = ["mariadb", "redis-erpnext"]
|
||||
|
||||
[service.placement]
|
||||
node = "vm-control"
|
||||
|
||||
[service.resources]
|
||||
memory = "6Gi"
|
||||
cpu = 2.0
|
||||
|
||||
[service.volume]
|
||||
path = "/home/frappe/frappe-bench/sites"
|
||||
|
||||
[service.env]
|
||||
DB_HOST = "mariadb"
|
||||
REDIS_QUEUE = "redis://redis-erpnext:6379/0"
|
||||
REDIS_CACHE = "redis://redis-erpnext:6379/1"
|
||||
ADMIN_PASSWORD = "${secrets.ERPNEXT_ADMIN_PASSWORD}"
|
||||
@@ -0,0 +1,15 @@
|
||||
# frappe-hd stub — full config lands in M9.1.
|
||||
# Host: vm-control. Resource budget per INFRASTRUCTURE.md §6 co-tenant notes.
|
||||
|
||||
[[service]]
|
||||
name = "frappe-hd"
|
||||
image = "frappe/helpdesk:v1"
|
||||
port = 8001
|
||||
depends_on = ["mariadb", "redis-erpnext"]
|
||||
|
||||
[service.placement]
|
||||
node = "vm-control"
|
||||
|
||||
[service.resources]
|
||||
memory = "1Gi"
|
||||
cpu = 0.5
|
||||
@@ -0,0 +1,20 @@
|
||||
# mariadb stub — full config lands in M8.1.
|
||||
# Host: vm-control. Resource budget per INFRASTRUCTURE.md §6 co-tenant notes.
|
||||
|
||||
[[service]]
|
||||
name = "mariadb"
|
||||
image = "mariadb:11"
|
||||
port = 3306
|
||||
|
||||
[service.placement]
|
||||
node = "vm-control"
|
||||
|
||||
[service.resources]
|
||||
memory = "3Gi"
|
||||
cpu = 1.0
|
||||
|
||||
[service.volume]
|
||||
path = "/var/lib/mysql"
|
||||
|
||||
[service.env]
|
||||
MARIADB_ROOT_PASSWORD = "${secrets.MARIADB_ROOT_PASSWORD}"
|
||||
@@ -0,0 +1,14 @@
|
||||
# redis-erpnext stub — full config lands in M8.1.
|
||||
# Host: vm-control. Resource budget per INFRASTRUCTURE.md §6 co-tenant notes.
|
||||
|
||||
[[service]]
|
||||
name = "redis-erpnext"
|
||||
image = "redis:7-alpine"
|
||||
port = 6379
|
||||
|
||||
[service.placement]
|
||||
node = "vm-control"
|
||||
|
||||
[service.resources]
|
||||
memory = "256Mi"
|
||||
cpu = 0.25
|
||||
@@ -0,0 +1,22 @@
|
||||
# stalwart stub — full config lands in M3.2.
|
||||
# Host: vm-control. Resource budget per INFRASTRUCTURE.md §6 co-tenant notes.
|
||||
|
||||
[[service]]
|
||||
name = "stalwart"
|
||||
image = "stalwartlabs/mail-server:latest"
|
||||
port = 587
|
||||
domain = "mail.breakpilot.com"
|
||||
extra_ports = ["25:25", "465:465", "587:587", "993:993"]
|
||||
|
||||
[service.placement]
|
||||
node = "vm-control"
|
||||
|
||||
[service.resources]
|
||||
memory = "1Gi"
|
||||
cpu = 0.5
|
||||
|
||||
[service.volume]
|
||||
path = "/opt/stalwart-mail"
|
||||
|
||||
[service.env]
|
||||
STALWART__SERVER__HOSTNAME = "mail.breakpilot.com"
|
||||
@@ -0,0 +1,20 @@
|
||||
# tenant-registry stub — full config lands in M4.1.
|
||||
# Host: vm-control. Resource budget per INFRASTRUCTURE.md §6 co-tenant notes.
|
||||
|
||||
[[service]]
|
||||
name = "tenant-registry"
|
||||
image = "registry.breakpilot.com/tenant-registry:placeholder"
|
||||
port = 8080
|
||||
|
||||
[service.placement]
|
||||
node = "vm-control"
|
||||
|
||||
[service.resources]
|
||||
memory = "512Mi"
|
||||
cpu = 0.5
|
||||
|
||||
[service.env]
|
||||
DATABASE_URL = "${secrets.TENANT_REGISTRY_DB_URL}"
|
||||
KEYCLOAK_ISSUER = "https://auth.breakpilot.com/realms/breakpilot-prod"
|
||||
KEYCLOAK_ADMIN_USER = "${secrets.KEYCLOAK_ADMIN_USER}"
|
||||
KEYCLOAK_ADMIN_PASS = "${secrets.KEYCLOAK_ADMIN_PASS}"
|
||||
Reference in New Issue
Block a user