1.0 (deprecated): NodeJS docker client, not compatible with the Logmatic.io integration. 1.2 (latest): use python.
12 lines
324 B
YAML
Executable File
12 lines
324 B
YAML
Executable File
logmatic-agent:
|
|
image: logmatic/logmatic-docker
|
|
entrypoint: python /app/main.py
|
|
command: ${logmatic_key} ${opts_args}
|
|
restart: always
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /proc/:/host/proc/:ro
|
|
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro
|
|
labels:
|
|
io.rancher.scheduler.global: "true"
|