web:
  build: apache
  ports:
  - "8080:80"
  links:
  - redis
  - nuxeo1
  - nuxeo2
  volumes:
  - ./deploy:/deploy:ro
  - ./logs:/logs:rw

nuxeo1:
  build: nuxeo
  hostname: nuxeo1
  links:
  - redis
  - es
  - db
  environment:
    distribution: lastbuild
  volumes:
  - ./deploy:/deploy:ro
  - ./share:/share:rw
  - ./logs:/logs:rw

nuxeo2:
  build: nuxeo
  hostname: nuxeo2
  links:
  - redis
  - es
  - db
  environment:
    distribution: lastbuild
  volumes:
  - ./deploy:/deploy:ro
  - ./share:/share:rw
  - ./logs:/logs:rw

redis:
  image: redis:3.0.4

es:
  image: elasticsearch:2.3.5

db:
  build: postgresql


web:
  build: apache
  ports:
  - "8080:80"
  links:
  - redis
  - nuxeo1
  - nuxeo2
  volumes:
  - ./deploy:/deploy:ro
  - ./logs:/logs:rw

nuxeo1:
  build: nuxeo
  hostname: nuxeo1
  links:
  - redis
  - es
  - db
  environment:
    distribution: lastbuild
  volumes:
  - ./deploy:/deploy:ro
  - ./share:/share:rw
  - ./logs:/logs:rw

nuxeo2:
  build: nuxeo
  hostname: nuxeo2
  links:
  - redis
  - es
  - db
  environment:
    distribution: lastbuild
  volumes:
  - ./deploy:/deploy:ro
  - ./share:/share:rw
  - ./logs:/logs:rw

redis:
  image: redis:4.0.1

es:
  image: docker.elastic.co/elasticsearch/elasticsearch:5.6.2

db:
  build: postgresql


Upgrade ES to 5.6.2 (+redis to 4.0.1)
NXBT-1917: Upgrade ES to 5.6.2 (+redis to 4.0.1)
