mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
fix: correct password handling syntax in Supabase template SQL scripts
- Updated the password setting syntax to use backticks for command substitution. - Ensured the echo command for the POSTGRES_PASSWORD variable is correctly formatted for production environments.
This commit is contained in:
@@ -325,7 +325,7 @@ config:
|
|||||||
- filePath: /volumes/db/roles.sql
|
- filePath: /volumes/db/roles.sql
|
||||||
content: |
|
content: |
|
||||||
-- NOTE: change to your own passwords for production environments
|
-- NOTE: change to your own passwords for production environments
|
||||||
\set pgpass '$(echo "$POSTGRES_PASSWORD")'
|
\\set pgpass \`echo "$POSTGRES_PASSWORD"\`
|
||||||
|
|
||||||
ALTER USER authenticator WITH PASSWORD :'pgpass';
|
ALTER USER authenticator WITH PASSWORD :'pgpass';
|
||||||
ALTER USER pgbouncer WITH PASSWORD :'pgpass';
|
ALTER USER pgbouncer WITH PASSWORD :'pgpass';
|
||||||
|
|||||||
Reference in New Issue
Block a user