2026-11-04 19:01:59 +00:00
|
|
|
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 %}
|
2026-11-04 19:01:59 +00:00
|
|
|
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 }}"
|