Skip to content

Instantly share code, notes, and snippets.

@adnanrahic
Created May 27, 2020 07:41
Show Gist options
  • Save adnanrahic/d12fdfd2803cbf42c0ef42d216230e40 to your computer and use it in GitHub Desktop.
Save adnanrahic/d12fdfd2803cbf42c0ef42d216230e40 to your computer and use it in GitHub Desktop.
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