example.ini 1.12 KB
Newer Older
Patrick Colmant's avatar
Patrick Colmant committed
1 2 3 4 5 6 7 8 9
[uwsgi]
	vhost = true
	plugins = python
	socket = /tmp/$REPANIER.BE$.sock
	master = true
	enable-threads = true
	processes = 2
	buffer-size = 8192
	env = DJANGO_SETTINGS_MODULE=mysite.$REPANIER.BE$_settings
10
	env = DJANGO_SETTINGS_MODULE_SITE_ID=1
Patrick Colmant's avatar
Patrick Colmant committed
11
	env = DJANGO_SETTINGS_MODULE_DEBUG=False
12 13 14 15 16 17 18 19 20 21 22 23 24
	env = DJANGO_SETTINGS_MODULE_DATABASE_NAME=$NAME$
	env = DJANGO_SETTINGS_MODULE_DATABASE_USER=$USER$
	env = DJANGO_SETTINGS_MODULE_DATABASE_PASSWORD=$PASSWORD$
	env = DJANGO_SETTINGS_MODULE_DATABASE_HOST=127.0.0.1
	env = DJANGO_SETTINGS_MODULE_DATABASE_PORT=5432
	env = DJANGO_SETTINGS_MODULE_SECRET_KEY=$SECRET_KEY$
	env = DJANGO_SETTINGS_MODULE_EMAIL_HOST=$EMAIL_HOST$
	env = DJANGO_SETTINGS_MODULE_EMAIL_HOST_USER=$EMAIL_HOST_USER$
	env = DJANGO_SETTINGS_MODULE_EMAIL_HOST_PASSWORD=$EMAIL_HOST_PASSWORD$
	env = DJANGO_SETTINGS_MODULE_EMAIL_PORT=$EMAIL_PORT$
	env = DJANGO_SETTINGS_MODULE_EMAIL_USE_TLS=True
	env = DJANGO_SETTINGS_MODULE_ADMIN_NAME=$ADMIN_NAME$
	env = DJANGO_SETTINGS_MODULE_ADMIN_EMAIL=$ADMIN_EMAIL$
Patrick Colmant's avatar
Patrick Colmant committed
25 26 27 28
	wsgi-file = /$PATH_TO$/production/mysite/mysite/wsgi.py
	virtualenv = /$PATH_TO$/production/
	chdir = /$PATH_TO$/production/mysite/