fleet/tools/osquery/docker-compose.linux-overrides.yml
Brendan Shaklovitz 87137252de
docker-compose QoL improvements (#2319)
* Use YAML anchors to avoid repeating config blocks
* Use docker volumes to persist data for mysql
* Allow setting `FLEET_SERVER` (fixes #2127) when using the docker-compose file to spin up multiple osquery clients
2020-10-09 10:10:33 -07:00

22 lines
523 B
YAML

---
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