mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-13 21:30:21 +02:00
PG Dev Max Connections (#3082)
This commit is contained in:
parent
1d0fb6d012
commit
55919f596c
@ -15,9 +15,9 @@ docker rm danswer_postgres danswer_vespa danswer_redis
|
|||||||
# Start the PostgreSQL container with optional volume
|
# Start the PostgreSQL container with optional volume
|
||||||
echo "Starting PostgreSQL container..."
|
echo "Starting PostgreSQL container..."
|
||||||
if [[ -n "$POSTGRES_VOLUME" ]]; then
|
if [[ -n "$POSTGRES_VOLUME" ]]; then
|
||||||
docker run -p 5432:5432 --name danswer_postgres -e POSTGRES_PASSWORD=password -d -v $POSTGRES_VOLUME:/var/lib/postgresql/data postgres
|
docker run -p 5432:5432 --name danswer_postgres -e POSTGRES_PASSWORD=password -d -v $POSTGRES_VOLUME:/var/lib/postgresql/data postgres -c max_connections=250
|
||||||
else
|
else
|
||||||
docker run -p 5432:5432 --name danswer_postgres -e POSTGRES_PASSWORD=password -d postgres
|
docker run -p 5432:5432 --name danswer_postgres -e POSTGRES_PASSWORD=password -d postgres -c max_connections=250
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Start the Vespa container with optional volume
|
# Start the Vespa container with optional volume
|
||||||
|
Loading…
x
Reference in New Issue
Block a user