Save error when changed web service name in docker compose file

well in the docker_compose.yml file the 'depends_on' is usually added on the 'web' service.

You didn't renamed the web service or so?