README updates for new version OpenProject and Postgresql 9.6

pull/6199/head
Andrew Carter 7 years ago committed by GitHub
parent 8174d1b832
commit 43b59cf5c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/installation/docker/README.md

@ -35,7 +35,7 @@ the logs to your terminal, which helps with debugging if anything goes wrong.
For normal usage you probably want to start it in the background, which can be
achieved with the `-d` flag:
docker run -d -p 8080:80 -e SECRET_KEY_BASE=secret openproject/community:5.0
docker run -d -p 8080:80 -e SECRET_KEY_BASE=secret openproject/community:7
### Recommended usage
@ -55,7 +55,7 @@ those directories mounted:
sudo mkdir -p /var/lib/openproject/{pgdata,logs,static}
docker run -d -p 8080:80 --name openproject -e SECRET_KEY_BASE=secret \
-v /var/lib/openproject/pgdata:/var/lib/postgresql/9.4/main \
-v /var/lib/openproject/pgdata:/var/lib/postgresql/9.6/main \
-v /var/lib/openproject/logs:/var/log/supervisor \
-v /var/lib/openproject/static:/var/db/openproject \
openproject/community:7
@ -143,7 +143,7 @@ Yes. You can simply pass a custom `DATABASE_URL` environment variable on the
command-line, which could point to an external database. You can even choose to
use MySQL instead of PostgreSQL if you wish. Here is how you would do it:
docker run -d ... -e DATABASE_URL=mysql2://user:pass@host:port/dbname openproject/community:5.0
docker run -d ... -e DATABASE_URL=mysql2://user:pass@host:port/dbname openproject/community:7
The container will make sure that the database gets the migrations and demo
data as well.

Loading…
Cancel
Save