diff --git a/.gitignore b/.gitignore index ec64d07e..bd7cc837 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ dbdump .env /*.csv +*.sql \ No newline at end of file diff --git a/bin/start.sh b/bin/start.sh index e864b25b..40d026b1 100755 --- a/bin/start.sh +++ b/bin/start.sh @@ -6,4 +6,4 @@ set -o nounset yarn build python manage.py collectstatic --noinput -gunicorn $GUNICORN_WORKERS_ARG --config gunicorn.config.py budgetportal.wsgi:application --log-file - --bind 0.0.0.0:$PORT +gunicorn --workers $GUNICORN_WORKERS_ARG --config gunicorn.config.py budgetportal.wsgi:application --log-file - --bind 0.0.0.0:$PORT diff --git a/docker-compose.yml b/docker-compose.yml index 207d399a..3e205210 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,6 +38,7 @@ services: - OPENSPENDING_API_KEY - OPENSPENDING_HOST - OPENSPENDING_DATASET_CREATE_SUFFIX=-dev + #- GUNICORN_WORKERS_ARG=1 # Useful for testing start.sh volumes: - .:/app ports: