ReadTheDocs (RTD) Docker with uWSGI
1.9K
The docker image that uses to set up the RTD with uWSGI.
For more information about uWSGI, please refer to The uWSGI project.
For more information about how to set up Django so that it works nicely with uWSGI and nginx, pleae refer to Setting up Django and your web server with uWSGI and nginx.
EXPOSE 9527
CMD ["uwsgi", "--ini", "readthedocs.ini:dev"]
readthedocs.ini
[uwsgi]
ini = :dev
[dev]
env = DJANGO_SETTINGS_MODULE=readthedocs.settings.dev
ini = :readthedocs
[readthedocs]
chdir = /var/readthedocs
wsgi-file = readthedocs/wsgi.py
http = 0.0.0.0:8000
socket = 0.0.0.0:9527
master = true
workers = 4
enable-threads = true
vaccum = true
Content type
Image
Digest
Size
344.2 MB
Last updated
almost 9 years ago
docker pull qqbuby/readthedocs-uwsgi