Created
May 27, 2020 07:41
-
-
Save adnanrahic/d12fdfd2803cbf42c0ef42d216230e40 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.7" | |
services: | |
webserver: | |
image: nginx | |
environment: | |
- LOGS_ENABLED=false | |
ports: | |
- "80:80" | |
st-logagent: | |
image: 'sematext/logagent' | |
environment: | |
- LOGS_ENABLED_DEFAULT=true | |
- LOGAGENT_ARGS=-v | |
- LOGS_TOKEN=your-token | |
volumes: | |
- '/var/run/docker.sock:/var/run/docker.sock' | |
networks: | |
- foo | |
networks: | |
foo: | |
driver: overlay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment