Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better diagnostics and self-healing of docker-compose #17484

Merged
merged 1 commit into from
Aug 9, 2021

Commits on Aug 9, 2021

  1. Better diagnostics and self-healing of docker-compose

    There are several ways people might get the quick-start
    docker-compose running messed up (especially on linux):
    
    1) they do not run initialization steps and run docker-compose-up
    2) they do not run docker-compose-init first
    
    Also on MacOS/Windows default memory/disk settings are not
    enough to run Airflow via docker-compose and people are reporting
    "Airflow not working" where they simply do not allocate enough
    resources.
    
    Finally the docker compose does not support all versions of airflow
    and various problems might occur when you use this
    docker compose with old version of airflow.
    
    This change adds the following improvements:
    
    * automated check of minimum version of airflow supported
    * mkdir -p in the directories creation in instructions
    * automated checking if AIRFLOW_UID has been set (and printing
      error and instruction link in case it is not)
    * prints warning about too-low memory, cpu, disk allocation
      and instruction link where to read about it
    * automated fixing of ownership of the directories created in
      case they were not created initially and ended up owned by
      root user
    potiuk committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    d6607a4 View commit details
    Browse the repository at this point in the history