In the final section of this chapter, we are going to look at using Docker Compose with our Windows Docker host. As you will have already guessed, there isn't much change from the commands we ran in the previous chapter. In the chapter06 folder in the repository, there is a fork of the dotnet-album-viewer application from the Docker Examples repository as this ships with a docker-compose.yml file.
The Docker Compose file looks like the following:
version: '2.1'
services:
db:
image: microsoft/mssql-server-windows-express
environment:
sa_password: "DockerCon!!!"
ACCEPT_EULA: "Y"
healthcheck:
test: [ "CMD", "sqlcmd", "-U", "sa", "-P", "DockerCon!!!", "-Q", "select 1" ]
interval: 2s
retries: 10
app...