Skip to content

Commit

Permalink
Add option to skip uWSGI config in Docker environments
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldeteves committed Oct 24, 2023
1 parent f60c8a1 commit 374a434
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/containers/tactical/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ set -e
: "${API_HOST:=tactical-backend}"
: "${APP_HOST:=tactical-frontend}"
: "${REDIS_HOST:=tactical-redis}"
: "${SKIP_UWSGI_CONFIG:=0}"

: "${CERT_PRIV_PATH:=${TACTICAL_DIR}/certs/privkey.pem}"
: "${CERT_PUB_PATH:=${TACTICAL_DIR}/certs/fullchain.pem}"
Expand Down Expand Up @@ -121,7 +122,11 @@ EOF
python manage.py load_community_scripts
python manage.py reload_nats
python manage.py create_natsapi_conf
python manage.py create_uwsgi_conf

if [ "$SKIP_UWSGI_CONFIG" = 0 ]; then
python manage.py create_uwsgi_conf
fi

python manage.py create_installer_user
python manage.py clear_redis_celery_locks
python manage.py post_update_tasks
Expand Down

0 comments on commit 374a434

Please sign in to comment.