Skip to content

Commit cb94645

Browse files
committed
fix db setup
1 parent dc4eb68 commit cb94645

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ COPY ./scripts/setup-1-pgBadger.sh /docker-entrypoint-initdb.d/
3232
COPY ./scripts/setup-3-pg_repack.sh /docker-entrypoint-initdb.d/
3333
COPY ./scripts/setup-4-pgstatstatements.sh /docker-entrypoint-initdb.d/
3434
COPY ./scripts/setup-5-pmm.sh /docker-entrypoint-initdb.d/
35-
COPY ./scripts/setup-6-pgrouting.sh /docker-entrypoint-initdb.d/
3635
COPY ./scripts/setup-dbs.sh /docker-entrypoint-initdb.d/
3736

3837
# Install scripts to be run after DB initialization
@@ -45,7 +44,6 @@ RUN chmod +x /docker-entrypoint-initdb.d/setup-0-pgaudit.sh \
4544
/docker-entrypoint-initdb.d/setup-3-pg_repack.sh \
4645
/docker-entrypoint-initdb.d/setup-4-pgstatstatements.sh \
4746
/docker-entrypoint-initdb.d/setup-5-pmm.sh \
48-
/docker-entrypoint-initdb.d/setup-6-pgrouting.sh \
4947
/docker-entrypoint-initdb.d/setup-dbs.sh \
5048
/usr/local/bin/setup-parse-index.sh
5149

scripts/setup-0-pgaudit.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-E
1414
ALTER SYSTEM SET pgaudit.log = 'all, -misc';
1515
ALTER SYSTEM SET pgaudit.log_relation = 'on';
1616
ALTER SYSTEM SET pgaudit.log_parameter = 'on';
17-
ALTER SYSTEM SET shared_preload_libraries = 'set-user';
1817
EOSQL
1918

2019
exec "$@"

scripts/setup-6-pgrouting.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

scripts/setup-dbs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ psql -v ON_ERROR_STOP=1 --username "${POSTGRES_USER}" --dbname "${POSTGRES_DB}"
77
\c ${PG_PARSE_DB};
88
CREATE EXTENSION IF NOT EXISTS postgis;
99
CREATE EXTENSION IF NOT EXISTS postgis_topology;
10+
CREATE EXTENSION IF NOT EXISTS pgrouting;
1011
EOSQL
1112

1213
exec "$@"

0 commit comments

Comments
 (0)