Fix db_name quotes

This commit is contained in:
Manuel 2024-03-19 11:58:46 +01:00 committed by GitHub
parent bd81cc1cc4
commit 0032d3cf6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -561,8 +561,8 @@ services:
\set jwt_exp `echo "$JWT_EXP"` \set jwt_exp `echo "$JWT_EXP"`
\set db_name `echo "${POSTGRES_DB:-postgres}"` \set db_name `echo "${POSTGRES_DB:-postgres}"`
ALTER DATABASE :'db_name' SET "app.settings.jwt_secret" TO :'jwt_secret'; ALTER DATABASE :db_name SET "app.settings.jwt_secret" TO :'jwt_secret';
ALTER DATABASE :'db_name' SET "app.settings.jwt_exp" TO :'jwt_exp'; ALTER DATABASE :db_name SET "app.settings.jwt_exp" TO :'jwt_exp';
- type: bind - type: bind
source: ./volumes/db/logs.sql source: ./volumes/db/logs.sql