Files
server-infra/roles/web-static/templates/docker-compose.yml.j2
T
westfarn f24e1d3305
Sync runner checkout / sync (pull_request) Successful in 7s
Proxy Hesychia finance webhooks to chat_backend so Stripe POST is not 405.
The static SPA nginx served index.html for /api/finance/webhooks/stripe/ and rejected the method. Closes #41.
2026-10-10 06:28:09 -05:00

21 lines
592 B
Django/Jinja

# Managed by Ansible (roles/web-static). Do not edit by hand.
services:
web-static:
image: {{ web_static_image }}
restart: unless-stopped
# Webhook locations proxy to chat_backend on the host-published port.
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
ports:
{% for a in _static_apps %}
- "{{ a.port }}:{{ a.port }}"
{% endfor %}
volumes:
- {{ web_static_root }}:{{ web_static_root }}:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro