Skip to content

Commit d962957

Browse files
authored
Create Dockerfile
1 parent 0c58669 commit d962957

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM postgres:12-alpine
2+
3+
# Add fsync=off full_page_writes=off synchronous_commit=off to configuration
4+
RUN echo "fsync=off" >> /usr/local/share/postgresql/postgresql.conf.sample
5+
RUN echo "full_page_writes=off" >> /usr/local/share/postgresql/postgresql.conf.sample
6+
RUN echo "synchronous_commit=off" >> /usr/local/share/postgresql/postgresql.conf.sample

0 commit comments

Comments
 (0)