Add postgres Dockerfile

This commit is contained in:
PCoder 2023-12-13 20:01:07 +05:30
parent 88cff0f35c
commit 4579d8bcf2
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
FROM postgres:latest
# Copy custom configuration file to PostgreSQL configuration directory
COPY ./postgres/postgresql.conf /etc/postgresql/postgresql.conf
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
# Set the Unix socket directory
RUN echo "unix_socket_directories = '/var/run/postgresql'" >> /etc/postgresql/postgresql.conf