Browse Source

Downgraded version of docker-compose files to 3.3 (instead 3.4) since VSTS agent still doesn't support it plus other versions of Docker. We'll upgrade to 3.4 soon, though. When VSTS supports it.

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
pull/441/merge
Cesar De la Torre Llorente 7 years ago
parent
commit
08a5eeea71
10 changed files with 10 additions and 10 deletions
  1. +1
    -1
      docker-compose-external.override.yml
  2. +1
    -1
      docker-compose-external.yml
  3. +1
    -1
      docker-compose-windows.prod.yml
  4. +1
    -1
      docker-compose-windows.yml
  5. +1
    -1
      docker-compose.ci.build.yml
  6. +1
    -1
      docker-compose.nobuild.yml
  7. +1
    -1
      docker-compose.override.windows.yml
  8. +1
    -1
      docker-compose.override.yml
  9. +1
    -1
      docker-compose.prod.yml
  10. +1
    -1
      docker-compose.yml

+ 1
- 1
docker-compose-external.override.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
services: services:
sql.data: sql.data:


+ 1
- 1
docker-compose-external.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
services: services:
sql.data: sql.data:


+ 1
- 1
docker-compose-windows.prod.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
# The Production docker-compose file has to have the external/real IPs or DNS names for the services # The Production docker-compose file has to have the external/real IPs or DNS names for the services
# The ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like: # The ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:


+ 1
- 1
docker-compose-windows.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
services: services:
basket.api: basket.api:


+ 1
- 1
docker-compose.ci.build.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
services: services:
ci-build: ci-build:


+ 1
- 1
docker-compose.nobuild.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
services: services:
basket.api: basket.api:


+ 1
- 1
docker-compose.override.windows.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
# ONLY NEEDED WHEN RUNNING WINDOWS CONTAINERS # ONLY NEEDED WHEN RUNNING WINDOWS CONTAINERS
# #


+ 1
- 1
docker-compose.override.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
# The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine. # The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine.
# The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like: # The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:


+ 1
- 1
docker-compose.prod.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
# The Production docker-compose file has to have the external/real IPs or DNS names for the services # The Production docker-compose file has to have the external/real IPs or DNS names for the services
# The ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like: # The ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:


+ 1
- 1
docker-compose.yml View File

@ -1,4 +1,4 @@
version: '3.4'
version: '3.3'
services: services:


Loading…
Cancel
Save