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: