GitHub user potiuk added a comment to the discussion: Airflow Worker container 
is crashing with error  "ModuleNotFoundError: No module named 'postgresql'"

For posterity and others having similar issues: from the docs: 
https://airflow.apache.org/docs/docker-stack/index.html

> You can also use “slim” images that contain only core airflow and are about 
> half the size of the “regular” images but you need to add all the [Reference 
> for package 
> extras](https://airflow.apache.org/docs/apache-airflow/stable/extra-packages-ref.html)
>  and providers that you need separately via [Building the 
> image](https://airflow.apache.org/docs/docker-stack/build.html#build-build-image).

GitHub link: 
https://github.com/apache/airflow/discussions/38425#discussioncomment-14170865

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to