Merge branch 'master' of nextgit.gnuviech-server.de:gnuviech/gvadocker

This commit is contained in:
Jan Dittberner 2020-02-15 11:26:08 +01:00
commit 4f10e21a45
3 changed files with 4 additions and 0 deletions

2
.dockerignore Normal file
View file

@ -0,0 +1,2 @@
.git
.idea

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.idea/

View file

@ -13,6 +13,7 @@ EXPOSE 5432
VOLUME /var/lib/postgresql/ VOLUME /var/lib/postgresql/
COPY pg_hba.conf /etc/postgresql/11/main/pg_hba.conf COPY pg_hba.conf /etc/postgresql/11/main/pg_hba.conf
COPY startup.sh /srv/ COPY startup.sh /srv/
HEALTHCHECK CMD pg_isready -d postgres
ENTRYPOINT ["dumb-init"] ENTRYPOINT ["dumb-init"]
CMD "/srv/startup.sh" CMD "/srv/startup.sh"