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