Zhenye-Na commented on issue #34751: URL: https://github.com/apache/airflow/issues/34751#issuecomment-1751927395
I am having some issues starting the airflow web server via github codespaces ``` breeze start-airflow --use-airflow-version 2.7.0 --executor CeleryExecutor --airflow-extras celery Using constraints 2.7.0 - matching airflow version used. Good version of Docker: 24.0.6. Good version of docker-compose: 2.21.0 @&&&&&&@ @&&&&&&&&&&&@ &&&&&&&&&&&&&&&& &&&&&&&&&& &&&&&&& &&&&&&& @@@@@@@@@@@@@@@@ &&&&&& @&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&& &&&&&&&&& &&&&&&&&&&&& @@&&&&&&&&&&&&&&&@ @&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&& &&&&&&&&&&&&&&&&&&&&&&&& &&&&&& &&&&&& &&&&&&& @&&&&&&&& @&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& @&&&@ && @&&&&&&&&&&& &&&&&&&&&&&& && &&&&&&&&&& &&& &&& &&& &&& &&& && @&& &&& && && &&& &&&@ &&& &&&&& &&& &&& &&& && @&&&&&&&&&&&& &&&&&&&&&&& && && &&& &&& &&& &&@ &&& &&&&&&&&&&& && @&&&&&&&&& && && &&@ &&& &&@&& &&@&& &&& &&& && @&& &&&@ && &&&&&&&&&&& &&&&&&&&&&&& &&&& &&&& &&&&&&&&&&&& &&&&&&&&&&&& &&&&&&&&&&&@ &&&&&&&&&&&& &&&&&&&&&&& &&&&&&&&&&& &&& &&& && &&& && &&& &&&& && &&&&&&&&&&&&@ &&&&&&&&&&&& &&&&&&&&&&& &&&&&&&&&&& &&&& &&&&&&&&&& &&& && && &&&& && &&& &&&& && &&&&&&&&&&&&& && &&&&@ &&&&&&&&&&&@ &&&&&&&&&&&& @&&&&&&&&&&& &&&&&&&&&&& Airflow Breeze Cheatsheet * Port forwarding: Ports are forwarded to the running docker containers for webserver and database * 12322 -> forwarded to Airflow ssh server -> airflow:22 * 28080 -> forwarded to Airflow webserver -> airflow:8080 * 25555 -> forwarded to Flower dashboard -> airflow:5555 * 25433 -> forwarded to Postgres database -> postgres:5432 * 23306 -> forwarded to MySQL database -> mysql:3306 * 21433 -> forwarded to MSSQL database -> mssql:1443 * 26379 -> forwarded to Redis broker -> redis:6379 Direct links to those services that you can use from the host: * ssh connection for remote debugging: ssh -p 12322 airflow@127.0.0.1 (password: airflow) * Webserver: http://127.0.0.1:28080 * Flower: http://127.0.0.1:25555 * Postgres: jdbc:postgresql://127.0.0.1:25433/airflow?user=postgres&password=airflow * Mysql: jdbc:mysql://127.0.0.1:23306/airflow?user=root * MSSQL: jdbc:sqlserver://127.0.0.1:21433;databaseName=airflow;user=sa;password= Airflow123 * Redis: redis://127.0.0.1:26379/0 * How can I add my stuff in Breeze: * Your dags for webserver and scheduler are read from `/files/dags` directory which is mounted from folder in Airflow sources: * `/workspaces/airflow/files/dags` * You can add `airflow-breeze-config` directory. Place it in `/workspaces/airflow/files/airflow-breeze-config` and: * Add `variables.env` - to make breeze source the variables automatically for you * Add `.tmux.conf` - to add extra initial configuration to `tmux` * Add `init.sh` - this file will be sourced when you enter container, so you can add any custom code there. * You can put any other files. You can add them in `/workspaces/airflow/files` folder and they will be visible in `/files/` folder inside the container * Other options Check out `--help` for `breeze` command. It will show you other options, such as running integration or starting complete Airflow using `start-airflow` command as well as ways of cleaning up the installation. Make sure to run `setup-autocomplete` to get the commands and options auto-completable in your shell. You can disable this cheatsheet by running: breeze setup config --no-cheatsheet Docker image build is not needed for CI build as no important files are changed! You can add --force-build to force it Forcing --mount-sources to `remove` since we are not installing airflow from sources but from 2.7.0 [+] Creating 2/0 ✔ Container docker-compose-rabbitmq-1 Running 0.0s ✔ Container docker-compose-redis-1 Running 0.0s [+] Running 1/0 ✔ Container docker-compose-postgres-1 Started 0.0s dependency failed to start: container docker-compose-postgres-1 is unhealthy Error 1 returned ``` Is there any pointers that might cause this problem ? -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org