mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
Added documentation for Docker deployment in detached mode
This commit is contained in:
parent
36529326d3
commit
32f303f619
|
@ -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 New Issue
Block a user