mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 15:17:28 -04:00
15 lines
No EOL
349 B
Bash
Executable file
15 lines
No EOL
349 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -x
|
|
set -eo pipefail
|
|
|
|
if [[ -z "${SKIP_DOCKER}" ]]
|
|
then
|
|
docker run \
|
|
-e POSTGRES_USER=${DB_USER} \
|
|
-e POSTGRES_PASSWORD=${DB_PASSWORD} \
|
|
-e POSTGRES_DB=${DB_NAME} \
|
|
-p "${DB_PORT}":5432 \
|
|
-d postgres \
|
|
postgres -N 1000
|
|
fi
|
|
# ^ Increased maximum number of connections for testing purposes |