Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker run -d -v [django_project_path]:/data/services/django -p [port]:80 francisar/django_web:1.8.3
jango_project需包含uwsgi.ini文件
/data/services/django/uwsgi.ini
uwsgi.ini中配置监听9090端口

示例
[uwsgi]
socket = 127.0.0.1:9090
processes = 1

#module = uwsgi
wsgi-file = uwsgi.py
daemonize = log/uwsgi.log
pidfile = uwsgi.pid
chdir = /data/services/django/project
pythonpath = ..
env = DJANGO_SETTINGS_MODULE=project.settings
module = django.core.wsgi:get_wsgi_application()

Docker Pull Command
Owner
francisar