From 12226285c6403515cae8db6ceab91a2e482655e7 Mon Sep 17 00:00:00 2001 From: Samah Keshiro Date: Fri, 13 Nov 2026 22:33:04 -0500 Subject: [PATCH] Controlled failure: staging Gunicorn on 8001 --- ansible/templates/compose.yaml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/templates/compose.yaml.j2 b/ansible/templates/compose.yaml.j2 index 7c003c7..baa444d 100644 --- a/ansible/templates/compose.yaml.j2 +++ b/ansible/templates/compose.yaml.j2 @@ -2,6 +2,9 @@ services: app: image: "{{ release_image }}" restart: unless-stopped + {% if target_env == 'staging' %} + command: ["gunicorn", "--bind", "0.0.0.0:8001", "app:app"] + {% endif %} read_only: true tmpfs: - /tmp