mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Update PostgreSQL database URI in test.sh
This commit is contained in:
parent
8c3ec6b24c
commit
dcba7dc181
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ do
|
|||
elif [ "$test" = "postgres" ] ; then
|
||||
echo "💾 Running tests with PostgreSQL database ..."
|
||||
echo "ℹ️ Keeping the MULTISITE variable to yes and multisite settings ..."
|
||||
find . -type f -name 'docker-compose.*' -exec sed -i 's@DATABASE_URI: ".*"$@DATABASE_URI: "postgresql://bunkerweb:secret\@bw-db:5432/db"@' {} \;
|
||||
find . -type f -name 'docker-compose.*' -exec sed -i 's@DATABASE_URI: ".*"$@DATABASE_URI: "postgresql+psycopg://bunkerweb:secret\@bw-db:5432/db"@' {} \;
|
||||
|
||||
echo "💾 Starting postgres ..."
|
||||
docker compose -f docker-compose.postgres.yml up -d
|
||||
|
|
|
|||
Loading…
Reference in a new issue