Skip to content

Commit

Permalink
Update .do/app.yaml to use gunicorn run command
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Normore committed Oct 28, 2020
1 parent c8474ce commit ff8c7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .do/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
repo: digitalocean/sample-django
branch: static
deploy_on_push: true
run_command: python manage.py runserver 0.0.0.0:${PORT:-8080}
run_command: gunicorn --worker-tmp-dir /dev/shm mysite.wsgi
envs:
- key: DISABLE_COLLECTSTATIC
value: "1"
Expand Down

0 comments on commit ff8c7cb

Please sign in to comment.