Browse Source

auto check

master
zeus 3 years ago
parent
commit
688932421c
  1. 44
      docker-compose.yml

44
docker-compose.yml

@ -13,11 +13,11 @@ services:
#container_name: redisserver
image: redis:6.0.9-alpine
container_name: redisserver
logging:
driver: "fluentd"
options:
fluentd-async-connect: "true"
tag: mongo.redis
#logging:
# driver: "fluentd"
# options:
# fluentd-async-connect: "true"
# tag: mongo.redis
#ports:
# - "6379:6379"
networks:
@ -38,11 +38,11 @@ services:
image: hub.swarmlab.io:5480/poc-datacollector-readmongo:latest
container_name: readmongo_service
restart: always
logging:
driver: "fluentd"
options:
fluentd-async-connect: "true"
tag: mongo.node2
#logging:
# driver: "fluentd"
# options:
# fluentd-async-connect: "true"
# tag: mongo.node2
#build: ./readmongo
#ports:
# - "3000:3000"
@ -54,29 +54,29 @@ services:
image: hub.swarmlab.io:5443/poc-datacollector-dummyservice:latest
container_name: dummy_service
restart: always
logging:
driver: "fluentd"
options:
fluentd-async-connect: "true"
tag: mongo.node1
#logging:
# driver: "fluentd"
# options:
# fluentd-async-connect: "true"
# tag: mongo.node1
#build: ./dummyservice
#ports:
# - "3001:3001"
# volumes:
# - ./dummyservice:/usr/src/app
links:
- mongo
#links:
# - mongo
networks:
datacollector-net:
# ---- fluentd service ----
mongo:
image: mongo:4.4.9
container_name: mongo
logging:
driver: "fluentd"
options:
fluentd-async-connect: "true"
tag: mongo.mongodb
#logging:
# driver: "fluentd"
# options:
# fluentd-async-connect: "true"
# tag: mongo.mongodb
#expose:
#- 27017
#ports:

Loading…
Cancel
Save