Record verified releases and prepare recovery exercises
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git a/delivery/ansible/templates/compose.yaml.j2 b/delivery/ansible/templates/compose.yaml.j2
|
||||
--- 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:
|
||||
Reference in New Issue
Block a user