-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use postsgresql.conf for postgres in docker configuration
- Loading branch information
1 parent
ae0cdd2
commit 3ccd429
Showing
4 changed files
with
828 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
FROM postgres:16.4 | ||
|
||
COPY certs /var/lib/postgresql/certs | ||
RUN chmod 600 /var/lib/postgresql/certs/* | ||
RUN chown -R postgres:postgres /var/lib/postgresql/certs | ||
WORKDIR /var/lib/postgresql/ | ||
COPY certs ./certs | ||
COPY postgresql.conf . | ||
RUN chmod 600 certs/* && chown -R postgres:postgres certs |
Oops, something went wrong.