mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-09 21:24:43 +00:00
Merge pull request #1652 from emilepetrone/master
Added documentation for Docker deployment in detached mode
This commit is contained in:
commit
4d3cdab2be
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue