Level-4:Docker-Resolve Docker Compose

Hi Team,

Please help me on the below issue. I tried in multiple ways but still I am getting the same error.

Hi @sankar.duggempudu,

Can you please display the content of the docker compose file?

Regards,

Hi Teja,

Please find the content of docker-compose.yml file

version: “3.0”
services:
web:
build: ./app
container_name: python
ports:
- “5000:5000”
volumes:
- ./code:/app/code/
depends_on:
- redis
redis:
image: redis
container_name: redis

HI All
I have edit file and test it by command curl localhost:5000 it is runing but still faild

version: ‘3.0’
services:
web:
build: ./app
container_name: python
ports:
- “5000:5000”
volumes:
- ./app:/code
depends_on:
- redis
redis:
image: redis
container_name: redis
~
~
~
~

‘python’ container seems down or missing on app server 3
FAILED test_compose.py::test_compose - AssertionError: - ‘python’ container s…