Browse Source

auto check

master
zeus 3 years ago
parent
commit
f202dcbb6e
  1. 22
      docker-compose.yml

22
docker-compose.yml

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

Loading…
Cancel
Save