changeset 9737:0c4736d5dd4a 3.2.x

Do not expose ports that are not meant to be published
author Tom Gottfried <tom@intevation.de>
date Mon, 25 Jul 2022 12:31:08 +0200
parents 492f8e615c38
children afad1fac70fb
files docker/Dockerfile.artifacts docker/Dockerfile.db
diffstat 2 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/docker/Dockerfile.artifacts	Mon Jul 25 12:30:42 2022 +0200
+++ b/docker/Dockerfile.artifacts	Mon Jul 25 12:31:08 2022 +0200
@@ -43,8 +43,6 @@
 
 RUN mvn -q -DskipTests package assembly:single
 
-EXPOSE 8181
-
 WORKDIR /opt/d4e/bin
 RUN useradd d4e
 RUN chown d4e:d4e .
--- a/docker/Dockerfile.db	Mon Jul 25 12:30:42 2022 +0200
+++ b/docker/Dockerfile.db	Mon Jul 25 12:31:08 2022 +0200
@@ -42,11 +42,6 @@
 RUN echo "listen_addresses='*'" >> $PGCONF
 
 #
-# Expose the PostgreSQL port
-#
-EXPOSE 5432
-
-#
 # Create database
 #
 # Don't mind scary messages like

http://dive4elements.wald.intevation.org