Fix pre-commit hook issues with Docker & Celery

This commit is contained in:
Bruno Alla 2021-03-03 19:50:13 +00:00
parent c382894934
commit c7bb4834e0
4 changed files with 2 additions and 4 deletions

View File

@ -14,4 +14,4 @@ REDIS_URL=redis://redis:6379/0
# Flower # Flower
CELERY_FLOWER_USER=!!!SET CELERY_FLOWER_USER!!! CELERY_FLOWER_USER=!!!SET CELERY_FLOWER_USER!!!
CELERY_FLOWER_PASSWORD=!!!SET CELERY_FLOWER_PASSWORD!!! CELERY_FLOWER_PASSWORD=!!!SET CELERY_FLOWER_PASSWORD!!!
{% endif %} {%- endif %}

View File

@ -10,4 +10,4 @@ python manage.py migrate
uvicorn config.asgi:application --host 0.0.0.0 --reload uvicorn config.asgi:application --host 0.0.0.0 --reload
{%- else %} {%- else %}
python manage.py runserver_plus 0.0.0.0:8000 python manage.py runserver_plus 0.0.0.0:8000
{% endif %} {%- endif %}

View File

@ -21,4 +21,3 @@ export AWS_STORAGE_BUCKET_NAME="${DJANGO_AWS_STORAGE_BUCKET_NAME}"
aws s3 cp s3://${AWS_STORAGE_BUCKET_NAME}${BACKUP_DIR_PATH}/${1} ${BACKUP_DIR_PATH}/${1} aws s3 cp s3://${AWS_STORAGE_BUCKET_NAME}${BACKUP_DIR_PATH}/${1} ${BACKUP_DIR_PATH}/${1}
message_success "Finished downloading ${1}." message_success "Finished downloading ${1}."

View File

@ -27,4 +27,3 @@ message_info "Cleaning the directory ${BACKUP_DIR_PATH}"
rm -rf ${BACKUP_DIR_PATH}/* rm -rf ${BACKUP_DIR_PATH}/*
message_success "Finished uploading and cleaning." message_success "Finished uploading and cleaning."