Skip to content

Commit 3dce6e7

Browse files
authored
Update docker-compose-common-components.yaml (#1207)
The default 100 max postgres connections isn't enough when managing more than 4 (?) game servers, triggering http 502 errors in UI (see : https://discord.com/channels/685692524442026020/685695097349734469/1470638305606373452). This fix increases the default to 300. This arbitrary number should suffice for a number of managed game servers up to 8, but still has to be evaluated in real conditions and edge cases (8+ servers). Signed-off-by: ElGuillermo <66552553+ElGuillermo@users.noreply.github.com>
1 parent 0acd058 commit 3dce6e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose-common-components.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ services:
1717
- common
1818
postgres:
1919
image: ${POSTGRES_IMAGE}
20+
# Increases the default 100 to 300
21+
command: postgres -c max_connections=300
2022
environment:
2123
# If a password is not defined this container will fail to create
2224
POSTGRES_PASSWORD: ${HLL_DB_PASSWORD}

0 commit comments

Comments
 (0)