Skip to content

Commit

Permalink
Merge pull request #19 from Plaidstallion/patch-2
Browse files Browse the repository at this point in the history
Update startup.sh
  • Loading branch information
renamedquery authored Jun 6, 2021
2 parents 1b958d6 + 0490781 commit 3a68697
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions startup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

# Directly referencing these variables now because docker-compose sucks
python3 setup.py --appname $APPNAME --username $ADMINUSER --password $PASSWORD
gunicorn --workers 4 --threads 4 --bind 0.0.0.0:8080 wsgi:app
chown -R abc:abc /app
s6-setuidgid abc python3 setup.py --appname $APPNAME --username $ADMINUSER --password $PASSWORD
s6-setuidgid abc gunicorn --workers 4 --threads 4 --bind 0.0.0.0:8080 wsgi:app

0 comments on commit 3a68697

Please sign in to comment.