mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 02:57:01 +00:00
include nginx on main image
This commit is contained in:
@@ -5,6 +5,7 @@ set -e
|
||||
python manage.py migrate --noinput
|
||||
python manage.py collectstatic --noinput --ignore=*.scss
|
||||
|
||||
|
||||
PUID=${PUID:-911}
|
||||
PGID=${PGID:-911}
|
||||
|
||||
@@ -13,4 +14,5 @@ usermod -o -u "$PUID" abc
|
||||
chown -R abc:abc db
|
||||
chown -R abc:abc assets
|
||||
|
||||
exec gosu abc:abc uwsgi --socket :8000 --master --enable-threads --die-on-term --module base.wsgi
|
||||
nginx
|
||||
exec gosu abc:abc uwsgi --socket :8000 --master --enable-threads --module base.wsgi
|
||||
Reference in New Issue
Block a user