You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/databases/index.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,15 @@ Public port is used to expose the container port to the internet, by starting an
52
52
- Port mappings makes the connection/port permanent (you need to restart your database to change it).
53
53
- The public port makes the connection/port dynamic (you can change it without restarting the database, Coolify will restart the Nginx TCP proxy for you).
54
54
55
+
## Proxy Timeout
56
+
57
+
When using a public port, Coolify starts an Nginx TCP proxy to expose your database. By default, the proxy timeout is set to **3600 seconds** (1 hour).
58
+
59
+
You can configure this in the database settings under **Proxy Timeout (seconds)**. This controls how long idle connections are kept open before Nginx closes them.
60
+
61
+
- The minimum value is **1 second**.
62
+
- Set a higher value if you have long-running queries or connections that stay idle for extended periods.
63
+
55
64
## Access database during builds
56
65
57
66
If you are using `Nixpacks` build pack, you have two ways to access your database during builds:
0 commit comments