potiuk commented on PR #23052: URL: https://github.com/apache/airflow/pull/23052#issuecomment-1102511594
> > > @potiuk Could you explain to me what will happen in this command? I tried executing `docker-compose ps` directly via terminal but it throws the following error. > > > > > > `docker-compose ps` lists the containers status in a nicely formatted way. The naming probably comes from the command `ps` which shows the `process status` > > The error states that it cannot find any configuration file. Check that you are running it in the right location where it can discover the config. > > thanks @joppevos yes `docker-compose ps` works when executed via `dc_run_file ps` but it doesn't work when executed directly. I tried from airflow_home and airflow_home/.build folder. Let me check other paths too. That's becode dc_run_file from the old breeze already contains COMPOSE_FILE and all the environment variables that docker-compose needs to find out the definition of Breeze containers (see the other comment). This is precisely what we do in Shell command when we launch "docker-compose" - se we should use the same mechanism as in "shell" to get the variables and run docker-compose with all of them set. -- 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]
