From 7f34ff787509342b291eb73720e6a0c71e25dbfc Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 18 Dec 2015 03:56:45 -0400 Subject: [PATCH] Improve docker composer instructions. --- docs/topics/deploying.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/topics/deploying.rst b/docs/topics/deploying.rst index 6eb00e74fb..cf1279d09e 100644 --- a/docs/topics/deploying.rst +++ b/docs/topics/deploying.rst @@ -208,6 +208,12 @@ with:: Docker Compose ============== +Create a file named ``environment`` with the following content:: + + POSTGRES_DB=mayan + POSTGRES_PASSWORD=mayanpassword + POSTGRES_USER=mayan + Create a file named ``docker-compose.yml`` with the content:: postgres: @@ -234,7 +240,7 @@ Create a file named ``docker-compose.yml`` with the content:: Launch the entire stack (Postgres, Redis, and Mayan EDMS) using:: - docker-compose -f docker-compose.yml up -d + docker-compose -f docker-compose.yml -p mayanedms up -d After the **Mayan EDMS** container finishes initializing (about 5 minutes), it will be available by browsing to http://127.0.0.1. You can inspect the initialization