mirror of
https://github.com/bitnami/containers.git
synced 2026-02-25 07:37:32 +08:00
remove the config files generated by initdb at database initialization
This commit is contained in:
@@ -8,6 +8,8 @@ initialize_database() {
|
||||
gosu $BITNAMI_APP_USER $BITNAMI_APP_DIR/bin/initdb -D $BITNAMI_APP_DIR/data \
|
||||
-U $BITNAMI_APP_USER -E unicode -A trust >/dev/null
|
||||
|
||||
# remove the config files generated by initdb
|
||||
rm -rf $BITNAMI_APP_DIR/data/{pg_hba.conf,pg_ident.conf,postgresql.conf}
|
||||
}
|
||||
|
||||
create_custom_database() {
|
||||
|
||||
Reference in New Issue
Block a user