Skip to content

Instantly share code, notes, and snippets.

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