|
|
@ -18,8 +18,8 @@ services: |
|
|
|
options: |
|
|
|
fluentd-async-connect: "true" |
|
|
|
tag: mongo.redis |
|
|
|
ports: |
|
|
|
- "6379:6379" |
|
|
|
#ports: |
|
|
|
# - "6379:6379" |
|
|
|
networks: |
|
|
|
datacollector-net: |
|
|
|
writetomongo: |
|
|
@ -29,9 +29,9 @@ services: |
|
|
|
#build: ./WriteToMongo/fluent |
|
|
|
# volumes: |
|
|
|
# - ./WriteToMongo/fluent:/fluentd/etc |
|
|
|
ports: |
|
|
|
- "24224:24224" |
|
|
|
- "24224:24224/udp" |
|
|
|
#ports: |
|
|
|
# - "24224:24224" |
|
|
|
# - "24224:24224/udp" |
|
|
|
networks: |
|
|
|
datacollector-net: |
|
|
|
readmongo: |
|
|
@ -44,8 +44,8 @@ services: |
|
|
|
fluentd-async-connect: "true" |
|
|
|
tag: mongo.node2 |
|
|
|
#build: ./readmongo |
|
|
|
ports: |
|
|
|
- "3000:3000" |
|
|
|
#ports: |
|
|
|
# - "3000:3000" |
|
|
|
# volumes: |
|
|
|
# - ./readmongo:/usr/src/app |
|
|
|
networks: |
|
|
@ -60,8 +60,8 @@ services: |
|
|
|
fluentd-async-connect: "true" |
|
|
|
tag: mongo.node1 |
|
|
|
#build: ./dummyservice |
|
|
|
ports: |
|
|
|
- "3001:3001" |
|
|
|
#ports: |
|
|
|
# - "3001:3001" |
|
|
|
# volumes: |
|
|
|
# - ./dummyservice:/usr/src/app |
|
|
|
links: |
|
|
@ -79,8 +79,8 @@ services: |
|
|
|
tag: mongo.mongodb |
|
|
|
expose: |
|
|
|
- 27017 |
|
|
|
ports: |
|
|
|
- "27017:27017" |
|
|
|
#ports: |
|
|
|
# - "27017:27017" |
|
|
|
networks: |
|
|
|
datacollector-net: |
|
|
|
|
|
|
|