Controlled failure: staging Gunicorn on 8001
Scrap-Web/pipeline/head There was a failure building this commit
Scrap-Web/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -2,6 +2,9 @@ services:
|
|||||||
app:
|
app:
|
||||||
image: "{{ release_image }}"
|
image: "{{ release_image }}"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
{% if target_env == 'staging' %}
|
||||||
|
command: ["gunicorn", "--bind", "0.0.0.0:8001", "app:app"]
|
||||||
|
{% endif %}
|
||||||
read_only: true
|
read_only: true
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /tmp
|
- /tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user