feat(database): add banking database and update mount path

adds a new database named banking to the PostgreSQL initialization script 
and modifies the mount path for PostgreSQL data to improve compatibility 
with volume management practices.
This commit is contained in:
2025-12-10 07:47:09 +01:00
parent fd6dcca181
commit 87fb1d6221
+2 -1
View File
@@ -19,6 +19,7 @@ data:
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
CREATE DATABASE schemas WITH OWNER postgres ENCODING utf8;
CREATE DATABASE accounting WITH OWNER postgres ENCODING utf8;
CREATE DATABASE banking WITH OWNER postgres ENCODING utf8;
CREATE DATABASE authz WITH OWNER postgres ENCODING utf8;
CREATE DATABASE company WITH OWNER postgres ENCODING utf8;
CREATE DATABASE consumer WITH OWNER postgres ENCODING utf8;
@@ -78,7 +79,7 @@ spec:
value: --locale-provider=icu --icu-locale=sv-SE
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
mountPath: /var/lib/postgresql
- mountPath: /docker-entrypoint-initdb.d/initdb.sh
name: initdb
subPath: initdb.sh