Add nginx postgres files
This commit is contained in:
parent
341de7596e
commit
2de44782f7
3 changed files with 38 additions and 0 deletions
9
postgres/Dockerfile
Normal file
9
postgres/Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Use the official PostgreSQL image from the Docker Hub
|
||||
FROM postgres:latest
|
||||
|
||||
# Copy custom configuration file to PostgreSQL configuration directory
|
||||
COPY ./postgres/postgresql.conf /etc/postgresql/postgresql.conf
|
||||
|
||||
# Set the Unix socket directory
|
||||
RUN echo "unix_socket_directories = '/var/run/postgresql'" >> /etc/postgresql/postgresql.conf
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue