Summary

Currently the TCP proxy for publicly exposed databases uses nginx’s default stream timeout (~10 min), which kills long-running queries. This adds a configurable public_port_timeout field so users can set their own timeout or disable it entirely.

/claim #7743

What changed

  • Added public_port_timeout integer column (default 0) to all 8 standalone database tables
  • Updated StartDatabaseProxy to inject proxy_timeout and proxy_connect_timeout into the nginx stream config
  • When set to 0 (default), uses 604800s (7 days) - effectively no timeout
  • Added the timeout input to all 8 database type UIs, next to the existing public port field

Testing

  • Verified nginx config generates correct proxy_timeout directive
  • Default behavior (0) maps to 7-day timeout to prevent idle disconnects
  • Non-zero values pass through as-is in seconds

Fixes coollabsio/coolify#7743

Claim

Total prize pool $100
Total paid $0
Status Pending
Submitted March 08, 2026
Last updated March 08, 2026

Contributors

KE

kevinpsj0

@kevinpsj0

100%

Sponsors

ZA

Zach Latta

@zachlatta

$100