Update Dockerfile

This commit is contained in:
Alexandre
2024-01-31 10:08:31 +01:00
committed by GitHub
parent edadb2c6a0
commit b424184dc3

View File

@@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
RUN \
# Correct for access
sed -i "s|.*listen_addresses(.*)|listen_addresses = '*'(1)|g" /usr/local/share/postgresql/postgresql.conf.sample && \
sed -i "s|.*data_directory(.*)|data_directory = '/config/database'(1)|g" /usr/local/share/postgresql/postgresql.conf.sample
sed -i "s|.*data_directory(.*)|data_directory = '/config/database'(1)|g" /usr/local/share/postgresql/postgresql.conf.sample || true
##################
# 3 Install apps #