docker-compose.yml 636 B

1234567891011121314151617181920212223242526272829303132333435
  1. version: "3"
  2. services:
  3. elasticsearch:
  4. image: elasticsearch:6.5.1
  5. environment:
  6. - "discovery.type=single-node"
  7. ports:
  8. - "9200:9200"
  9. - "9300:9300"
  10. kibana:
  11. image: kibana:6.5.1
  12. ports:
  13. - "5601:5601"
  14. fluent-bit:
  15. image: fluent/fluent-bit
  16. ports:
  17. - "24224:24224"
  18. volumes:
  19. - "./files/fluent-bit/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf"
  20. depends_on:
  21. - elasticsearch
  22. nginx:
  23. image: nginx:alpine
  24. ports:
  25. - "80:80"
  26. depends_on:
  27. - fluent-bit
  28. logging:
  29. driver: fluentd
  30. options:
  31. fluentd-address: localhost:24224