Skip to content
GitLab
Explore
Sign in
Register
shore
beats-docker
Compare revisions
31256d8cdddfbe6ff28db06352f0971f39b07a34 to 7245b183310c4985e55cb1375f6abc84172ef4c6
Commits on Source (2)
fixup! Scaffolding.
· 59642917
nimrod
authored
May 15, 2021
59642917
fixup! Setup beats.
· 7245b183
nimrod
authored
May 15, 2021
7245b183
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
7245b183
...
...
@@ -8,6 +8,7 @@ services:
restart
:
always
user
:
root
volumes
:
-
/etc/hostname:/etc/hostname:ro
-
filebeat:/usr/share/filebeat/data/
-
/var/lib/docker/containers:/var/lib/docker/containers:ro
-
/var/run/docker.sock:/var/run/docker.sock:ro
...
...
@@ -19,11 +20,11 @@ services:
restart
:
always
user
:
root
volumes
:
-
/etc/hostname:/etc/hostname:ro
-
journalbeat:/usr/share/journalbeat/data/
-
/var/log/journal:/var/log/journal
-
/etc/machine-id:/etc/machine-id:ro
-
/run/systemd:/run/systemd
-
/etc/hostname:/etc/hostname:ro
metricbeat
:
build
:
...
...
@@ -33,12 +34,13 @@ services:
restart
:
always
user
:
root
volumes
:
-
/etc/hostname:/etc/hostname:ro
-
metricbeat:/usr/share/metricbeat/data/
-
/var/run/docker.sock:/var/run/docker.sock:ro
-
/sys/fs/cgroup:/hostfs/sys/fs/cgroup:ro
-
/proc:/hostfs/proc:ro
-
/run/systemd:/run/systemd
-
/run/dbus:/run/dbus
-
/var
/run/dbus:/
var/
run/dbus
-
/var:/hostfs/var:ro
-
/home:/hostfs/home:ro
-
/:/hostfs:ro
...
...
@@ -52,6 +54,7 @@ services:
network_mode
:
host
restart
:
always
volumes
:
-
/etc/hostname:/etc/hostname:ro
-
packetbeat:/usr/share/packetbeat/data/
volumes
:
...
...