mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
fix: update PostgreSQL user password command in security script
- Removed output redirection from the PostgreSQL user password update command in the security migration script to ensure visibility of potential errors during execution.
This commit is contained in:
@@ -76,7 +76,7 @@ POSTGRES_CONTAINER=$(docker ps --filter "name=dokploy-postgres" --format "{{.ID}
|
||||
|
||||
if [ -n "$POSTGRES_CONTAINER" ]; then
|
||||
docker exec "$POSTGRES_CONTAINER" psql -U dokploy -d dokploy \
|
||||
-c "ALTER USER dokploy WITH PASSWORD '${NEW_PASSWORD}';" >/dev/null 2>&1 || true
|
||||
-c "ALTER USER dokploy WITH PASSWORD '${NEW_PASSWORD}';"
|
||||
fi
|
||||
|
||||
# Update Postgres service to use Docker Secret
|
||||
|
||||
Reference in New Issue
Block a user