forked from sematext/sematext-agent-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Performance Metrics, Container Logs, Docker Events, | ||
# Anomaly Detection and Alerts in one Place | ||
# 1. Login here: https://apps.sematext.com/users-web/login.do | ||
# 2. Create a Logsene App and copy the Logsene Token | ||
# into the environment section | ||
# 3. Create an SPM App for Docker and copy the SPM Token | ||
# into the environment section | ||
sematext-agent-docker: | ||
image: 'sematext/sematext-agent-docker:latest' | ||
deployment_strategy: every_node | ||
environment: | ||
- LOGSENE_TOKEN=YOUR-LOGSENE-TOKEN | ||
- SPM_TOKEN=YOUR-SPM-TOKEN | ||
privileged: true | ||
restart: always | ||
volumes: | ||
- '/var/run/docker.sock:/var/run/docker.sock' | ||
# More Information: | ||
# https://github.com/sematext/sematext-agent-docker | ||
# http://www.sematext.com |