You've already forked testing-go-code-with-postgres
mirror of
https://github.com/xorcare/testing-go-code-with-postgres.git
synced 2025-07-03 23:30:31 +02:00
Increase the maximum number of connections
This is to simplify testing using the `-count=100` option.
This commit is contained in:
@ -3,6 +3,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:15.3-alpine3.18
|
image: postgres:15.3-alpine3.18
|
||||||
|
command: postgres -c 'max_connections=1000'
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: postgres
|
POSTGRES_DB: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
|
Reference in New Issue
Block a user