Exercise staging-only Gunicorn bind mismatch
This commit is contained in:
@@ -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