Question from the Docker compose test

Find the error(s) in this `docker-compose.yml` file extract.

Medium

What is/are the error(s) in this docker-compose.yml file extract?

version: '3'
services:
  web:
    image: nginx
    ports:
      - "80:80"
  database:
    image: postgres
    volumes:
      - data:/var/lib/postgresql/data
networks:
  default:
    driver: custom-driver
Author: AxelStatus: PublishedQuestion passed 286 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!