Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove exposed PSQL port in all-in-one

Oliver Güntherdb05146e53a8
diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile
index 8f94a1725d6..ad092407740 100644
--- a/docker/prod/Dockerfile
+++ b/docker/prod/Dockerfile
@@ -103,7 +103,7 @@ RUN ./docker/prod/setup/postinstall-onprem.sh
RUN ln -s /app/docker/prod/setup/.irbrc /root/
# Expose ports for apache and postgres
-EXPOSE 80 5432
+EXPOSE 80
# Expose the postgres data directory and OpenProject data directory as volumes
VOLUME ["$PGDATA", "$APP_DATA_PATH"]
diff --git a/docs/release-notes/14-1-0/README.md b/docs/release-notes/14-1-0/README.md
index 7758efd5430..597db547cfd 100644
--- a/docs/release-notes/14-1-0/README.md
+++ b/docs/release-notes/14-1-0/README.md
@@ -24,6 +24,13 @@ As OpenProject currently does not provide its own multi-container setup, the app
In the future, we are collaborating with Univention to provide a connector app for OpenProject, allowing you to integrate their IDM solution
into an existing deployed OpenProject application.
+### Removal of all-in-one PostgreSQL exposed port
+
+In the all-in-one Dockerfile, up until now, both port 80 and 5432 (PostgreSQL database) was exposed by default.
+As we're also not exposing other services such as memcached, we removed the PostgreSQL port for consistency.
+
+If you need to work on the database directly, you can still use the `docker exec -it <container id> pg_dump` command to e.g., access pg_dump.
+
## Important feature changes
### PDF export of Gantt view, e.g. for printing (Enterprise add-on)