Files
myfileagent-pipeline/secure-delivery/ansible/templates/compose.yaml.j2
T

23 lines
456 B
Django/Jinja
Raw Normal View History

services:
app:
image: "{{ release_image }}"
2026-11-07 23:16:10 +00:00
{% if target_env == 'staging' %}
command: ["gunicorn", "--bind", "0.0.0.0:8001", "app:app"]
{% endif %}
restart: unless-stopped
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 }}"