version: "2"
services:
  mongo:
    image: mongo:3.4
    command: --nojournal
    container_name: mongo

  orion:
    image: fiware/orion:latest
    hostname: orion
    container_name: orion
    links:
      - mongo:mongo
  #    - cygnus:cygnus
    expose:
      - "1026"
    ports:
      - "1026:1026"
    command: -dbhost mongo

  mysql:
    image: mysql:5.7.22
    hostname: mysql
    container_name: mysql
    expose:
      - "3306"
    ports:
      - "3306:3306"
    environment:
      - MYSQL_ROOT_PASSWORD=root