Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Snippet of Fluentd Docker Compose file
version: '3.0'
services:
fluentd:
image: garystafford/custom-fluentd:latest
hostname: fluentd
ports:
- "24224:24224/tcp"
- "24224:24224/udp"
networks:
- demo_overlay_net
deploy:
mode: global
placement:
constraints:
- node.role == worker
- node.hostname != worker3
environment:
SERVICE_NAME: fluentd
SERVICE_TAGS: monitoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment