Last active
March 6, 2017 12:53
-
-
Save stepankuzmin/68cb01a026d2a40b3703443b7f428a36 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: '2' | |
| services: | |
| fluentd: | |
| container_name: fluentd | |
| image: fluent/fluentd | |
| environment: | |
| FLUENTD_CONF: fluent.conf | |
| ports: | |
| - 24224:24224 | |
| volumes: | |
| - ./log:/fluentd/log | |
| - ./fluent.conf:/fluentd/etc/fluent.conf | |
| app: | |
| container_name: app | |
| image: ubuntu | |
| depends_on: | |
| - fluentd | |
| logging: | |
| driver: fluentd | |
| command: echo hello world |
This file contains hidden or 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
| <source> | |
| type forward | |
| port 24224 | |
| bind 0.0.0.0 | |
| </source> | |
| <match *.*> | |
| type stdout | |
| </match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment