From 1e23001e7303d14630cfa97c8de36f31f30b81a0 Mon Sep 17 00:00:00 2001 From: Vincent Date: Sun, 15 Nov 2026 23:00:00 -0500 Subject: [PATCH] Exercise staging-only Gunicorn bind mismatch --- delivery/ansible/templates/compose.yaml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/delivery/ansible/templates/compose.yaml.j2 b/delivery/ansible/templates/compose.yaml.j2 index 033995f..0977d92 100644 --- a/delivery/ansible/templates/compose.yaml.j2 +++ b/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", "--workers", "1", "--worker-tmp-dir", "/tmp", "app:app"] +{% endif %} restart: unless-stopped read_only: true tmpfs: