fix: docker compose refusing to start (#24565)

This commit is contained in:
Daniel Vaz Gaspar 2023-06-30 11:55:13 +01:00 committed by GitHub
parent a740c2c06e
commit c238d9733a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -39,7 +39,7 @@ PYTHONPATH=/app/pythonpath:/app/docker/pythonpath_dev
REDIS_HOST=redis REDIS_HOST=redis
REDIS_PORT=6379 REDIS_PORT=6379
SUPERSET_ENV=development FLASK_DEBUG=true
SUPERSET_ENV=development SUPERSET_ENV=development
SUPERSET_LOAD_EXAMPLES=yes SUPERSET_LOAD_EXAMPLES=yes
CYPRESS_CONFIG=false CYPRESS_CONFIG=false

View File

@ -39,7 +39,6 @@ PYTHONPATH=/app/pythonpath:/app/docker/pythonpath_dev
REDIS_HOST=redis REDIS_HOST=redis
REDIS_PORT=6379 REDIS_PORT=6379
SUPERSET_ENV=production
SUPERSET_ENV=production SUPERSET_ENV=production
SUPERSET_LOAD_EXAMPLES=yes SUPERSET_LOAD_EXAMPLES=yes
SUPERSET_SECRET_KEY=TEST_NON_DEV_SECRET SUPERSET_SECRET_KEY=TEST_NON_DEV_SECRET

View File

@ -46,7 +46,7 @@ case "${1}" in
celery --app=superset.tasks.celery_app:app beat --pidfile /tmp/celerybeat.pid -l INFO -s "${SUPERSET_HOME}"/celerybeat-schedule celery --app=superset.tasks.celery_app:app beat --pidfile /tmp/celerybeat.pid -l INFO -s "${SUPERSET_HOME}"/celerybeat-schedule
;; ;;
app) app)
echo "Starting web app..." echo "Starting web app (using development server)..."
flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0 flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0
;; ;;
app-gunicorn) app-gunicorn)