Files
seat-back-trivia/ansible/templates/compose.yaml.j2
T
Cedric PollefeysandClaude Opus 5.5 58fd9947db
seat-back-trivia/pipeline/head This commit looks good
Drill: bind the app to the wrong port (staging only, do not merge)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:28:09 -05:00

22 lines
527 B
Django/Jinja

services:
app:
image: "{{ release_image }}"
# Drill only: listen on the wrong port so the health check fails.
command: ["gunicorn", "--bind", "0.0.0.0:8001", "--workers", "1", "--worker-tmp-dir", "/tmp", "app:app"]
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 }}"