Add postgres Dockerfile
This commit is contained in:
parent
88cff0f35c
commit
4579d8bcf2
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
FROM postgres:latest
|
FROM postgres:latest
|
||||||
|
|
||||||
# Copy custom configuration file to PostgreSQL configuration directory
|
# 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
|
# Set the Unix socket directory
|
||||||
RUN echo "unix_socket_directories = '/var/run/postgresql'" >> /etc/postgresql/postgresql.conf
|
RUN echo "unix_socket_directories = '/var/run/postgresql'" >> /etc/postgresql/postgresql.conf
|
||||||
|
|
Loading…
Reference in a new issue