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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Some more updates to the doc
Cyril Rohr2e00bae6b6a7
diff --git a/help/installation-and-operations/configuration/database/README.md b/help/installation-and-operations/configuration/database/README.mdindex d17023aa8cd..fd1180afda3 100644--- a/help/installation-and-operations/configuration/database/README.md+++ b/help/installation-and-operations/configuration/database/README.md@@ -12,8 +12,9 @@ Simply run `sudo openproject reconfigure`, and when the database wizard is displ## Docker-based installation-You can simply pass a custom `DATABASE_URL` environment variable on the-docker command-line, which could point to an external database.+If you run the all-in-one container, you can simply pass a custom+`DATABASE_URL` environment variable on the docker command-line, which could+point to an external database.Example:@@ -21,5 +22,11 @@ Example:docker run -d ... -e DATABASE_URL=mysql2://user:pass@host:port/dbname openproject/community:10```-The docker image will make sure that the database gets the migrations and demo-data as well.+If you run the Compose based docker stack, you can simply override the `DATABASE_URL` environment variable, and remove the `db` service from the `docker-compose.yml` file. Then you can restart the stack with:++```+docker-compose down+docker-compose up -d+```++In both cases the seeder will be run when you (re)launch OpenProject to make sure that the database gets the migrations and demo data as well.diff --git a/help/installation-and-operations/configuration/server/README.md b/help/installation-and-operations/configuration/server/README.mdindex 579535dff70..5f3ca75d3e5 100644--- a/help/installation-and-operations/configuration/server/README.md+++ b/help/installation-and-operations/configuration/server/README.md@@ -10,44 +10,33 @@ Both the packaged and docker-based installations ship with Apache as the defaultFor a packaged-based installation, if for instance you wish to use NginX, you will need to skip the web server installation when asked in the initial configuration, and then configure NginX yourself so that it forwards traffic to the OpenProject web process (listening by default on 127.0.0.1:6000).If using SSL/TLS, please ensure you set the header value `X-Forwarded-Proto https` so OpenProject can correctly produce responses.-For a docker-based installation, you will need to switch to the single-process launch mode, where you would launch one or more containers for the `web` process, one container for the `worker` process, and then setup a web server of your choice in another container that forwards traffic to the `web` container(s). A simplified Compose file would look like:+For a docker-based installation, you will need to use the (recommended) Compose stack, which will allow you to swap the `proxy` container with whatever server you want to use.++For instance you could define a new proxy server like this:```yaml-version: '3'services:- database:- image: postgres:10- environment:- - POSTGRES_PASSWORD=p4ssw0rd- - POSTGRES_DB=openproject- nginx:+ ...+ proxy:image: nginxvolumes:- ./nginx.conf:/etc/nginx/conf.d/default.conf:roports:- "8080:80"-- web: &openproject- environment:- - DATABASE_URL=postgres://postgres:p4ssw0rd@database/openproject- image: openproject/community:10- command: ./docker/web- worker:- <<: *openproject- command: ./docker/worker+ ...```And the corresponding NginX configuration file would look like:```# default.conf-upstream app {+upstream web {server web:8080;}server {listen 80;- server_name _;+ server_name _;location / {proxy_pass_header Server;@@ -55,7 +44,7 @@ server {proxy_redirect off;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Scheme $scheme;- proxy_pass http://app/;+ proxy_pass http://web/;}}```