File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,9 @@ RUN apt-get update \
2020 postgresql-$PG_MAJOR-pgaudit \
2121 postgresql-$PG_MAJOR-set-user \
2222 postgresql-$PG_MAJOR-repack \
23- postgresql-$PG_MAJOR-pgpool2 \
23+ postgresql-$PG_MAJOR-cron \
2424 postgresql-$PG_MAJOR-pgrouting \
25+ postgresql-$PG_MAJOR-pgpool2\
2526 && rm -rf /var/lib/apt/lists/* \
2627 && mkdir -p /docker-entrypoint-initdb.d
2728
Original file line number Diff line number Diff line change 99psql -v ON_ERROR_STOP=1 --username " ${POSTGRES_USER} " --dbname " ${POSTGRES_DB} " << -EOSQL
1010 CREATE USER ${PG_PARSE_USER} LOGIN CONNECTION LIMIT 100 ENCRYPTED PASSWORD '${PG_PARSE_PASSWORD} ';
1111 CREATE DATABASE ${PG_PARSE_DB} OWNER ${PG_PARSE_USER} ;
12- CREATE EXTENSION pg_cron;
12+ CREATE EXTENSION IF NOT EXISTS pg_cron;
1313 \c ${PG_PARSE_DB} ;
1414 CREATE EXTENSION IF NOT EXISTS postgis;
1515 CREATE EXTENSION IF NOT EXISTS postgis_topology;
You can’t perform that action at this time.
0 commit comments