# This is only currently used by Travis for testing
version: "2"

services:
  elasticsearch:
    image: elasticsearch:1.5.2
    container_name: "es.edx"
  mongo:
    image: mongo:3.0.14
    container_name: "mongo.edx"
  forum-base:
    image: edxops/forum:ruby2.4.1 # TODO: switch back to latest after configuration release

    container_name: forum_testing
    volumes:
      - ..:/edx/app/forum/cs_comments_service
  forum:
    extends: forum-base
    command: tail -f /dev/null
    depends_on:
      - "elasticsearch"
      - "mongo"
  test-forum:
    extends: forum-base
    command: /edx/app/forum/cs_comments_service/.travis/run_tests.sh
    depends_on:
      - "elasticsearch"
      - "mongo"
# This is only currently used by Travis for testing
version: "2"

services:
  elasticsearch:
    image: elasticsearch:1.5.2
    container_name: "es.edx"
  mongo:
    image: mongo:3.2.21
    container_name: "mongo.edx"
  forum-base:
    image: edxops/forum:latest

    container_name: forum_testing
    volumes:
      - ..:/edx/app/forum/cs_comments_service
  forum:
    extends: forum-base
    command: tail -f /dev/null
    depends_on:
      - "elasticsearch"
      - "mongo"
  test-forum:
    extends: forum-base
    command: /edx/app/forum/cs_comments_service/.travis/run_tests.sh
    depends_on:
      - "elasticsearch"
      - "mongo"

Update travis docker to use latest images
Update travis docker to use latest images
