Skip to content

Commit 6b253be

Browse files
committed
fix: enable generated pg optimizations on the AIO image
1 parent 6df88b4 commit 6b253be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/all-in-one/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ RUN mkdir -p /var/log/wal-g \
276276
&& chown adminapi:adminapi /etc/wal-g/config.json \
277277
&& echo '{"WALG_S3_PREFIX": "s3://foo/bar/"}' > /etc/wal-g/config.json
278278
RUN chown -R adminapi:adminapi /etc/adminapi
279+
RUN sed -i "s;#include = '/etc/postgresql-custom/generated-optimizations.conf';include = '/etc/postgresql-custom/generated-optimizations.conf';" /etc/postgresql/postgresql.conf
279280

280281
# Add healthcheck and entrypoint scripts
281282
COPY docker/all-in-one/healthcheck.sh /usr/local/bin/

0 commit comments

Comments
 (0)