backend_uwsgi.ini 659 Bytes
Newer Older
Lukas Burgey's avatar
Lukas Burgey committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
[uwsgi]

# Django-related settings
# the base directory (full path)
chdir           = /home/hdf/backend
# Django's wsgi file
module          = django_backend.wsgi
# the virtualenv (full path)
home            = /home/hdf/backend/env

# process-related settings
# master
master          = true
# maximum number of worker processes
processes       = 1
# the socket (use the full path to be safe
socket          = /home/hdf/backend/backend.sock
# ... with appropriate permissions - may be needed
chmod-socket    = 666
# clear environment on exit
vacuum          = true

logger = file:/var/log/uwsgi.log

env = DB_PASSWORD=jaydGodd6
env = DB_USER=scc-hdfmysql0001