File tree Expand file tree Collapse file tree
rootfs/docker-entrypoint-initdb.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN apt-get update \
1414 && make pg_install
1515
1616
17- FROM docker.io/library/postgres:13-buster
17+ FROM docker.io/library/postgres:14-bullseye
1818
1919COPY rootfs /
2020COPY --from=mc /usr/bin/mc /bin/mc
@@ -23,7 +23,8 @@ COPY --from=builder /usr/local/bin/wal-g /bin/wal-g
2323ENV PGDATA $PGDATA/$PG_MAJOR
2424ENV WALG_ENVDIR /etc/wal-g.d/env
2525
26- RUN mkdir -p $WALG_ENVDIR \
26+ RUN sed -i -r 's/#huge_pages.*?/huge_pages = try/g' /usr/share/postgresql/postgresql.conf.sample \
27+ && mkdir -p $WALG_ENVDIR \
2728 && apt-get update \
2829 && apt-get install -y --no-install-recommends \
2930 jq \
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ timeout: "1200"
99# If left empty they will be generated using randAlphaNum
1010username : " "
1111password : " "
12- controllerDatabaseName : " drycc_controller"
1312passportDatabaseName : " drycc_passport"
13+ controllerDatabaseName : " drycc_controller"
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ lc_monetary = 'C' # locale for monetary formatting
2121lc_numeric = 'C' # locale for number formatting
2222lc_time = 'C' # locale for time formatting
2323default_text_search_config = 'pg_catalog.english'
24+ huge_pages = try
2425wal_level = archive
2526archive_mode = on
2627archive_command = 'envdir "${WALG_ENVDIR} " wal-g wal-push %p'
4849 -w start
4950else
5051 cat << EOF >> "$PGDATA /postgresql.conf"
52+ huge_pages = try
5153wal_level = archive
5254archive_mode = on
5355archive_command = 'envdir "${WALG_ENVDIR} " wal-g wal-push %p'
You can’t perform that action at this time.
0 commit comments