Created
May 27, 2020 09:40
-
-
Save adnanrahic/1279245b79778eef1cbe8d81959b7102 to your computer and use it in GitHub Desktop.
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
version: "3" | |
services: | |
nginx: | |
image: nginx | |
ports: | |
- "80:80" | |
node: | |
image: node | |
ports: | |
- "3000:3000" | |
st-logagent: | |
image: 'sematext/logagent:latest' | |
environment: | |
- LOGS_TOKEN=your-token | |
- SKIP_BY_IMAGE=nginx # Only use the name, don't need regexp expression | |
cap_add: | |
- SYS_ADMIN | |
restart: always | |
volumes: | |
- '/var/run/docker.sock:/var/run/docker.sock' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment