Commit 377aea549ee243742fa54370e302e5bdef161758
1 parent
b1aeccbdf9
Exists in
master
Modified flashy.ini to load envars from secrets
Showing 1 changed file with 6 additions and 5 deletions Inline Diff
flashy.ini
View file @
377aea5
# mysite_uwsgi.ini file | 1 | 1 | # mysite_uwsgi.ini file | |
[uwsgi] | 2 | 2 | [uwsgi] | |
3 | 3 | |||
4 | # set the uid and gid for user flashy | |||
uid = 1007 | 4 | 5 | uid = 1007 | |
gid = 1007 | 5 | 6 | gid = 1007 | |
# Django-related settings | 6 | 7 | # Django-related settings | |
# the base directory (full path) | 7 | 8 | # the base directory (full path) | |
chdir = /srv/flashy-backend/ | 8 | 9 | chdir = /srv/flashy-backend/ | |
# Django's wsgi file | 9 | 10 | # Django's wsgi file | |
module = flashy.wsgi | 10 | 11 | module = flashy.wsgi | |
# the virtualenv (full path) | 11 | 12 | # the virtualenv (full path) | |
home = /srv/flashy-backend/venv/ | 12 | 13 | home = /srv/flashy-backend/venv/ | |
logger = file:/var/log/uwsgi | 13 | 14 | logger = file:/var/log/uwsgi | |
# process-related settings | 14 | 15 | # process-related settings | |
# master | 15 | |||
# master = true | 16 | |||
# maximum number of worker processes | 17 | 16 | # maximum number of worker processes | |
# processes = 1 | 18 | 17 | # processes = 1 | |
http = :7001 | 19 | 18 | http = :7001 | |
# ... with appropriate permissions - may be needed | 20 | 19 | ||
# chmod-socket = 664 | 21 | 20 | # load the secrets file | |
# touch-reload = '/tmp/reload_uwsgi' | 22 | 21 | for-readline = file:/srv/flashy-backend/secrets | |
22 | env = %(_) | |||
23 | endfor = | |||
23 | 24 | |||