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

Update README.md

Oliver Günther8e82477f0f53
diff --git a/docs/installation-and-operations/installation/docker/README.md b/docs/installation-and-operations/installation/docker/README.md
index 7dbbd6d1f15..625bfc91dcd 100644
--- a/docs/installation-and-operations/installation/docker/README.md
+++ b/docs/installation-and-operations/installation/docker/README.md
@@ -92,10 +92,12 @@ because of an [issue regarding pseudo-TTY allocations](https://github.com/moby/m
and permissions to write to `/dev/stdout`. If you run into this, a workaround
seems to be to add `-t` to your run command, even if you run in detached mode.
-### Recommended usage
+## Using this container in production
-The one-liner above is great to get started quickly, but if you want to run
-OpenProject in production you will likely want to ensure that your data is not
+The one-liner above is great to get started quickly, but we strongly advise against
+using this setup for production purposes.
+
+Also, if you want to run OpenProject in production you need to ensure that your data is not
lost if you restart the container.
To achieve this, we recommend that you create a directory on your host system
@@ -109,7 +111,9 @@ those directories mounted:
```bash
sudo mkdir -p /var/lib/openproject/{pgdata,assets}
-docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret \
+docker run -d -p 8080:80 --name openproject \
+ -e SERVER_HOSTNAME=openproject.example.com \ # The public facing host name
+ -e SECRET_KEY_BASE=secret \ # The secret key base used for cookies
-v /var/lib/openproject/pgdata:/var/openproject/pgdata \
-v /var/lib/openproject/assets:/var/openproject/assets \
openproject/community:11
@@ -158,7 +162,8 @@ For more advanced configuration, please have a look at the [Advanced configurati
### Apache Reverse Proxy Setup
-Often there will be an existing web server through which you want to make OpenProject accessible.
+The containers above are not meant as public facing endpoints. Always use an existing proxying web server or load balancer to provide access to OpenProject
+
There are two ways to run OpenProject. We'll cover each configuration in a separate of the following sections.
For both configurations the following Apache mods are required: