Skip to content

Commit

Permalink
fix pgcron
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed Jan 2, 2025
1 parent cd09b25 commit 1072fe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.pgpool
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ RUN apt-get update \
postgresql-$PG_MAJOR-pgaudit \
postgresql-$PG_MAJOR-set-user \
postgresql-$PG_MAJOR-repack \
postgresql-$PG_MAJOR-pgpool2\
postgresql-$PG_MAJOR-cron \
postgresql-$PG_MAJOR-pgrouting \
postgresql-$PG_MAJOR-pgpool2\
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /docker-entrypoint-initdb.d

Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-dbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -e
psql -v ON_ERROR_STOP=1 --username "${POSTGRES_USER}" --dbname "${POSTGRES_DB}" <<-EOSQL
CREATE USER ${PG_PARSE_USER} LOGIN CONNECTION LIMIT 100 ENCRYPTED PASSWORD '${PG_PARSE_PASSWORD}';
CREATE DATABASE ${PG_PARSE_DB} OWNER ${PG_PARSE_USER};
CREATE EXTENSION pg_cron;
CREATE EXTENSION IF NOT EXISTS pg_cron;
\c ${PG_PARSE_DB};
CREATE EXTENSION IF NOT EXISTS postgis;
CREATE EXTENSION IF NOT EXISTS postgis_topology;
Expand Down

0 comments on commit 1072fe0

Please sign in to comment.