Simplify docker compose (#9602)

Seems like Spilo doesn't take into account the password?!
This commit is contained in:
Félix Malfait
2025-01-14 12:19:57 +01:00
committed by GitHub
parent 35d165dbe9
commit 459d0b18cf
2 changed files with 8 additions and 7 deletions

View File

@ -90,10 +90,12 @@ else
fi
# Generate random strings for secrets
echo "# === Randomly generated secrets ===" >>.env
echo "# === Randomly generated secret ===" >>.env
echo "APP_SECRET=$(openssl rand -base64 32)" >>.env
echo "" >>.env
echo "PGPASSWORD_SUPERUSER=$(openssl rand -hex 16)" >>.env
# Issue with Postgres spilo?
#echo "" >>.env
#echo "PGPASSWORD_SUPERUSER=$(openssl rand -hex 16)" >>.env
echo -e "\t• .env configuration completed"