mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
87137252de
* 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
22 lines
523 B
YAML
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
|