---
version: '2'

x-default-settings:
  extra_hosts: &linux-extra-hosts
    # Add host.docker.internal record to /etc/hosts of the containers. This is
    # added on Docker for Mac by default, but needs to be added by Linux users.
    - "host.docker.internal:${DOCKER_HOST:-172.17.0.1}"

services:
  ubuntu14-osquery:
    extra_hosts: *linux-extra-hosts

  ubuntu16-osquery:
    extra_hosts: *linux-extra-hosts

  centos7-osquery:
    extra_hosts: *linux-extra-hosts

  centos6-osquery:
    extra_hosts: *linux-extra-hosts
