velxio/deploy
David Montero 8e3c00ee7e fix: exit container when backend or nginx dies so Docker can restart it
Previously uvicorn was launched with `&` while nginx ran with `exec`, so if
the backend crashed (e.g. the `AssertionError` in websockets' keepalive_ping
that took prod down for ~31h), nginx kept the container "up" and every
/api/* request returned 502. Now both processes are monitored with
`wait -n`; whichever dies first triggers the entrypoint to exit, letting
`restart: unless-stopped` recover the container cleanly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 05:53:06 +02:00
..
entrypoint.sh fix: exit container when backend or nginx dies so Docker can restart it 2026-04-16 05:53:06 +02:00
nginx.conf feat: add WebSocket support for ESP32 simulation in nginx configuration; clean up example code by removing unused WDT functions 2026-03-24 17:02:23 -03:00
nginx.prod.conf feat: add production deployment configuration with SSL support 2026-03-06 21:20:44 +01:00