Physics Derivation Graph navigation
Sign in
disable DigitalOcean default gunicorn and nginx; start docker-compose
Published 2020-04-25T21:46:00.002Z by Physics Derivation Graph
See this post
https://www.digitalocean.com/community/questions/how-to-stop-gunicorn-nginx-from-serving-up-the-default-project-on-ubuntu-django-droplet
$ service gunicorn stop
$ service nginx stop
$ sudo systemctl disable nginx.service
$ sudo systemctl disable gunicorn.service
Then I added "restart: always" to the docker-compose.yaml file
https://docs.docker.com/compose/compose-file/
based on this post:
https://stackoverflow.com/a/52955638/1164295