Question from the Docker compose test

Can the `web` service communicate with the `db` service?

Easy

Consider the following docker-compose.yml file:

services:
  web:
    image: nginx
    networks:
      - frontend
  db:
    image: postgres
    networks:
      - backend
networks:
  frontend:
  backend:

Can the web service communicate with the db service?

Author: AxelStatus: PublishedQuestion passed 22 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!