Yaml "must be a mapping" error in docker-compose file
In an attempt to make my app container wait for my DB container to be up, I am trying to change my docker-compose file from this: version: '2.1' services: db: image: mysql:5.7 restart: always environment: MYSQL_ROOT_PASSWORD: <credentials here> MYSQL_DATABASE: <credentials…