Merge branch 'develop' of https://github.com/vabene1111/recipes into develop
This commit is contained in:
commit
45effbbcde
@ -3,6 +3,9 @@
|
|||||||
DEBUG=0
|
DEBUG=0
|
||||||
SQL_DEBUG=0
|
SQL_DEBUG=0
|
||||||
DEBUG_TOOLBAR=0
|
DEBUG_TOOLBAR=0
|
||||||
|
# Gunicorn log level for debugging (default value is "info" when unset)
|
||||||
|
# (see https://docs.gunicorn.org/en/stable/settings.html#loglevel for available settings)
|
||||||
|
# GUNICORN_LOG_LEVEL="debug"
|
||||||
|
|
||||||
# HTTP port to bind to
|
# HTTP port to bind to
|
||||||
# TANDOOR_PORT=8080
|
# TANDOOR_PORT=8080
|
||||||
|
3
boot.sh
3
boot.sh
@ -4,6 +4,7 @@ source venv/bin/activate
|
|||||||
TANDOOR_PORT="${TANDOOR_PORT:-8080}"
|
TANDOOR_PORT="${TANDOOR_PORT:-8080}"
|
||||||
GUNICORN_WORKERS="${GUNICORN_WORKERS:-3}"
|
GUNICORN_WORKERS="${GUNICORN_WORKERS:-3}"
|
||||||
GUNICORN_THREADS="${GUNICORN_THREADS:-2}"
|
GUNICORN_THREADS="${GUNICORN_THREADS:-2}"
|
||||||
|
GUNICORN_LOG_LEVEL="${GUNICORN_LOG_LEVEL:-'info'}"
|
||||||
NGINX_CONF_FILE=/opt/recipes/nginx/conf.d/Recipes.conf
|
NGINX_CONF_FILE=/opt/recipes/nginx/conf.d/Recipes.conf
|
||||||
|
|
||||||
display_warning() {
|
display_warning() {
|
||||||
@ -65,4 +66,4 @@ echo "Done"
|
|||||||
|
|
||||||
chmod -R 755 /opt/recipes/mediafiles
|
chmod -R 755 /opt/recipes/mediafiles
|
||||||
|
|
||||||
exec gunicorn -b :$TANDOOR_PORT --workers $GUNICORN_WORKERS --threads $GUNICORN_THREADS --access-logfile - --error-logfile - --log-level INFO recipes.wsgi
|
exec gunicorn -b :$TANDOOR_PORT --workers $GUNICORN_WORKERS --threads $GUNICORN_THREADS --access-logfile - --error-logfile - --log-level $GUNICORN_LOG_LEVEL recipes.wsgi
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
{% endblock %}</title>
|
{% endblock %}</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="robots" content="noindex,nofollow" />
|
||||||
|
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="{% static 'assets/favicon.svg' %}">
|
<link rel="shortcut icon" type="image/x-icon" href="{% static 'assets/favicon.svg' %}">
|
||||||
|
@ -17,7 +17,7 @@ Markdown==3.4.3
|
|||||||
Pillow==9.4.0
|
Pillow==9.4.0
|
||||||
psycopg2-binary==2.9.5
|
psycopg2-binary==2.9.5
|
||||||
python-dotenv==0.21.0
|
python-dotenv==0.21.0
|
||||||
requests==2.28.2
|
requests==2.31.0
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
webdavclient3==3.14.6
|
webdavclient3==3.14.6
|
||||||
whitenoise==6.2.0
|
whitenoise==6.2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user