Saturday, April 25, 2020

disable DigitalOcean default gunicorn and nginx; start docker-compose

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

No comments:

Post a Comment