Error in VSTS: 3 error(s), 1 warning(s) Phase 1 - 3 error(s), 1 warning(s) Version in "/opt/vsts/work/1/s/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/ /usr/local/bin/docker-compose failed with return code: 1
14 lines
221 B
YAML
14 lines
221 B
YAML
version: '3.3'
|
|
|
|
services:
|
|
sql.data:
|
|
environment:
|
|
- MSSQL_SA_PASSWORD=Pass@word
|
|
- ACCEPT_EULA=Y
|
|
- MSSQL_PID=Developer
|
|
ports:
|
|
- "5433:1433"
|
|
|
|
nosql.data:
|
|
ports:
|
|
- "27017:27017" |