The following command works perfectly in  CoreOS Alpha* 1325.1.0* but it 
does not work anymore in CoreOS Alpha *1339.0.0*

On executing the following command in the latest CoreOS Alpha *1339.0.0* I 
now receive the following error:

*    .depends_on must be a list*

 
$ *docker stack deploy neo4j-test --compose-file=./docker-compose.yml*

version: '3'

services:

  neo4j-999-601-test:
    image: neo4j:3.1.1
    ports:
      - "7474:7474"
      - "7687:7687"
    networks:
      - neo4j-test
    healthcheck:
      test: ["CMD-SHELL", "curl -f http://neo4j-999-601-test:7474 && echo 'OK'"]
      interval: 5s
      timeout: 2s
      retries: 3



    depends_on:
      neo4j-999-601-test:
        condition: service_healty



V3 supports docker healthcheck *condition* parameter for *depends_on* 
directive. It seems that docker-compose.yml Version '3' format is not 
parsed correctly anymore?

 



Reply via email to