Prepare immutable release recovery automation and deployment safeguards

This commit is contained in:
2026-11-26 02:05:13 -05:00
parent 151c59564d
commit 799a377cc0
8 changed files with 773 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
release: v2
image: git.nageshwaran.dev/ssw590-startup/startup-pricing@sha256:14d520f6fbe60c9cc5e661551a03e944de3a2ad777a64c316ec397ee765db22d
environment: production
container_name: startup-pricing-production
network: gitea_gitea_internal
host_binding: "127.0.0.1:5061:5000"
application_port: 5000
workers: 2
user: appuser
memory: 64m
memory_swap: 128m
cpus: 0.5
pids_limit: 64
read_only: true
tmpfs: "/tmp:rw,nosuid,nodev,size=16m"
restart_policy: unless-stopped
no_new_privileges: true
cap_drop: ALL
health_url: https://pricing.nageshwaran.dev/health
pricing_url: https://pricing.nageshwaran.dev/pricing
expected_health: healthy
expected_pricing:
Starter: 5
Basic: 12
Pro: 30
Enterprise: 60
expected_total: 107
source_commit: unverified
configuration_provenance: reconstructed_recovery_record