From 32f303f619c63fa53e8be60e24ca5a9836eb8066 Mon Sep 17 00:00:00 2001 From: Emile Petrone Date: Sun, 20 May 2018 12:37:36 -0400 Subject: [PATCH] Added documentation for Docker deployment in detached mode --- docs/deployment-with-docker.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/deployment-with-docker.rst b/docs/deployment-with-docker.rst index 90f2fa5c..de0026a6 100644 --- a/docs/deployment-with-docker.rst +++ b/docs/deployment-with-docker.rst @@ -84,6 +84,10 @@ Once this is ready, you can run it with:: docker-compose -f production.yml up +To run the stack and detach the containers, run:: + + docker-compose -f production.yml up -d + To run a migration, open up a second terminal and run:: docker-compose -f production.yml run --rm django python manage.py migrate