Files
Scrap-Web/ansible/templates/compose.yaml.j2
T
samahk13 12226285c6
Scrap-Web/pipeline/head There was a failure building this commit
Controlled failure: staging Gunicorn on 8001
2026-11-13 22:33:04 -05:00

23 lines
492 B
Django/Jinja

services:
app:
image: "{{ release_image }}"
restart: unless-stopped
{% if target_env == 'staging' %}
command: ["gunicorn", "--bind", "0.0.0.0:8001", "app:app"]
{% endif %}
read_only: true
tmpfs:
- /tmp
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
networks:
edge:
aliases:
- "pricing-{{ target_env }}"
networks:
edge:
external: true
name: "{{ proxy_network }}"