version: "2"
services:
  imagespace-mongo:
    image: mongo:3.0
    networks:
      - imagespace-network
  imagespace-solr:
    image: solr:6.0
    networks:
      - imagespace-network
    entrypoint:
      - docker-entrypoint.sh
      - solr-precreate
      - imagespace
  imagespace-girder:
    image: kitware/image_space:latest
    networks:
      - imagespace-network
    ports:
      - "8989:8080"
    depends_on:
      - imagespace-mongo
      - imagespace-solr
    entrypoint: /imagespace-entrypoint.sh --database mongodb://imagespace-mongo/girder

networks:
  imagespace-network:
    driver: bridge

version: "2"
services:
  imagespace-mongo:
    image: mongo:3.0
    networks:
      - imagespace-network
  imagespace-solr:
    image: solr:6.0
    networks:
      - imagespace-network
    entrypoint:
      - docker-entrypoint.sh
      - solr-precreate
      - imagespace
  imagespace-girder:
    image: kitware/image_space:latest
    networks:
      - imagespace-network
    ports:
      - "8989:8080"
    depends_on:
      - imagespace-mongo
      - imagespace-solr
    volumes:
      - ${IMAGE_DIR}:/images
    entrypoint: /imagespace-entrypoint.sh --database mongodb://imagespace-mongo/girder

networks:
  imagespace-network:
    driver: bridge

Add mounted image volume to girder container
Add mounted image volume to girder container
