We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65c6259 commit e18c475Copy full SHA for e18c475
examples/docker/compose.yaml
@@ -0,0 +1,29 @@
1
+services:
2
+ systemd-exporter:
3
+ container_name: systemd-exporter
4
+ image: prometheuscommunity/systemd-exporter:main
5
+ pull_policy: always
6
+ privileged: false
7
+ command:
8
+ - "--systemd.collector.private"
9
+ ports:
10
+ - "9558:9558"
11
+ user: root
12
+ restart: unless-stopped
13
+ volumes:
14
+ - type: "bind"
15
+ source: "/proc"
16
+ target: "/host/proc"
17
+ read_only: true
18
19
+ source: "/run/systemd"
20
+ target: "/run/systemd"
21
22
23
+ source: "/var/run"
24
+ target: "/var/run"
25
26
27
+ source: "/sys/fs/cgroup"
28
+ target: "/sys/fs/cgroup"
29
0 commit comments