WackyGem commented on code in PR #37940:
URL: https://github.com/apache/airflow/pull/37940#discussion_r1514901762


##########
docs/apache-airflow/howto/docker-compose/index.rst:
##########
@@ -358,6 +358,52 @@ Networking
 
 In general, if you want to use Airflow locally, your DAGs may try to connect 
to servers which are running on the host. In order to achieve that, an extra 
configuration must be added in ``docker-compose.yaml``. For example, on Linux 
the configuration must be in the section ``services: airflow-worker`` adding 
``extra_hosts: - "host.docker.internal:host-gateway"``; and use 
``host.docker.internal`` instead of ``localhost``. This configuration vary in 
different platforms. Please check the Docker documentation for `Windows 
<https://docs.docker.com/desktop/windows/networking/#use-cases-and-workarounds>`_
 and `Mac 
<https://docs.docker.com/desktop/mac/networking/#use-cases-and-workarounds>`_ 
for further information.
 
+Debug Airflow inside docker container using Pycharm
+===================================================
+Prerequisites: Create a project in **PyCharm** and download the 
`docker-compose.yaml <{{ doc_root_url }}docker-compose.yaml>`__.

Review Comment:
   I will work on these changes in my spare time, including the parts that 
failed the static checks. However, it is late at night for me, so I need to 
rest first. You can go ahead and work on other things.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to