docker-taiga
docker-taiga copied to clipboard
use gunicorn server instead of django test server (as recommended by taiga) #35 #42
This pull request fixes #35, fixes #42 and contains the following changes:
- migrate usage of the django webserver which is not recommended https://docs.djangoproject.com/en/1.11/intro/tutorial01/#the-development-server to gunicorn as suggested by tiaga https://taigaio.github.io/taiga-doc/dist/setup-production.html
- use the apt-key from the nginx website By the way: gunicorn feels much faster...
@benhutchins could you please take a look? 🙏
I really like this idea, just need to test this. Thank you for the contribution @anddann. I'll set some time aside to test this and, assuming it works, I'll merge it.
I guess all files in conf needs to be updated not only conf/nginx.conf with the new port number 8001
Is there a reason to change 8000 port for 8001 ?
No, there is no particular reason. I just did it because it is the default in the django documentation.
The 8000 port is the default for the test server, we can continue to keep this one. I'm still preparing an upgrade for Taiga in version 3.3.2 which will take care of database migration. I will inform you if this still works with port 8000 configured but I don't use taiga-event at this time.
To make things easier, I propose to migrate back to port 8000 instead of 8001.