Exercise staging-only Gunicorn bind mismatch
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "{{ release_image }}"
|
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
|
restart: unless-stopped
|
||||||
read_only: true
|
read_only: true
|
||||||
tmpfs:
|
tmpfs:
|
||||||
|
|||||||
Reference in New Issue
Block a user