|
|
@ -21,8 +21,8 @@ services: |
|
|
|
container_name: fluentd |
|
|
|
user: root |
|
|
|
build: ./WriteToMongo/fluent |
|
|
|
volumes: |
|
|
|
- ./WriteToMongo/fluent:/fluentd/etc |
|
|
|
# volumes: |
|
|
|
# - ./WriteToMongo/fluent:/fluentd/etc |
|
|
|
ports: |
|
|
|
- "24224:24224" |
|
|
|
- "24224:24224/udp" |
|
|
@ -42,8 +42,8 @@ services: |
|
|
|
image: readmongo:latest |
|
|
|
ports: |
|
|
|
- "3000:3000" |
|
|
|
volumes: |
|
|
|
- ./readmongo:/usr/src/app |
|
|
|
# volumes: |
|
|
|
# - ./readmongo:/usr/src/app |
|
|
|
links: |
|
|
|
- mongo |
|
|
|
networks: |
|
|
@ -82,8 +82,8 @@ services: |
|
|
|
image: dummyservice:latest |
|
|
|
ports: |
|
|
|
- "3001:3001" |
|
|
|
volumes: |
|
|
|
- ./dummyservice:/usr/src/app |
|
|
|
# volumes: |
|
|
|
# - ./dummyservice:/usr/src/app |
|
|
|
links: |
|
|
|
- mongo |
|
|
|
networks: |
|
|
@ -96,7 +96,7 @@ services: |
|
|
|
options: |
|
|
|
fluentd-async-connect: "true" |
|
|
|
tag: mongo.mongodb |
|
|
|
image: mongo |
|
|
|
image: mongo:4.4.9 |
|
|
|
expose: |
|
|
|
- 27017 |
|
|
|
ports: |
|
|
@ -104,10 +104,10 @@ services: |
|
|
|
networks: |
|
|
|
playground-net: |
|
|
|
|
|
|
|
volumes: |
|
|
|
fluent: |
|
|
|
readmongo: |
|
|
|
dummy: |
|
|
|
# volumes: |
|
|
|
# fluent: |
|
|
|
# readmongo: |
|
|
|
# dummy: |
|
|
|
|
|
|
|
networks: |
|
|
|
playground-net: |
|
|
|