From c0cdd9159b430b8a27543a293cdd23aa05c8ee34 Mon Sep 17 00:00:00 2001 From: nkogut Date: Sat, 7 Nov 2026 23:16:10 +0000 Subject: [PATCH] Exercise staging health-check port mismatch --- secure-delivery/ansible/templates/compose.yaml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/secure-delivery/ansible/templates/compose.yaml.j2 b/secure-delivery/ansible/templates/compose.yaml.j2 index 7c003c7..4e4e5b6 100644 --- a/secure-delivery/ansible/templates/compose.yaml.j2 +++ b/secure-delivery/ansible/templates/compose.yaml.j2 @@ -1,6 +1,9 @@ services: app: image: "{{ release_image }}" +{% if target_env == 'staging' %} + command: ["gunicorn", "--bind", "0.0.0.0:8001", "app:app"] +{% endif %} restart: unless-stopped read_only: true tmpfs: