[PATCH 2 of 2] Do not expose ports that are not meant to be published
Wald Commits
scm-commit at wald.intevation.org
Mon Jul 25 13:37:31 CEST 2022
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1658745068 -7200
# Mon Jul 25 12:31:08 2022 +0200
# Branch 3.2.x
# Node ID 0c4736d5dd4af42f345add38e6af4e932d3676d1
# Parent 492f8e615c38bf0205adb9832e219079db424e5f
Do not expose ports that are not meant to be published
diff -r 492f8e615c38 -r 0c4736d5dd4a docker/Dockerfile.artifacts
--- 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 .
diff -r 492f8e615c38 -r 0c4736d5dd4a docker/Dockerfile.db
--- 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
More information about the Dive4Elements-commits
mailing list