我有一个包含以下服务的 docker-compose 文件:
我遇到的问题是当我运行时docker-compose up,第一个启动的服务是cypress.
Cypress 立即尝试到达backend并失败,并给出错误:
> http://backend:8000
We are verifying this server because it has been configured as your `baseUrl`.
Cypress automatically waits until your server is accessible before running tests.
We will try connecting to it 3 more times...
We will try connecting to it 2 more times...
We will try connecting to it 1 more time...
Cypress failed to verify that your server is …Run Code Online (Sandbox Code Playgroud)