You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.3 KiB

3 years ago
version: "3.3"
services:
3 years ago
webclient:
image: hub.swarmlab.io:5480/poc-datacollector-node:latest
container_name: webclient
ports:
3 years ago
- "8080:8080"
3 years ago
networks:
datacollector-net:
volumes:
- ./playground-client/src/:/home/node/playground-client/src/
3 years ago
redisserver:
#image: hub.swarmlab.io:5480/playground-redisserver:latest
3 years ago
#container_name: redisserver
3 years ago
image: redis:6.0.9-alpine
3 years ago
container_name: redisserver
3 years ago
#logging:
# driver: "fluentd"
# options:
# fluentd-async-connect: "true"
# tag: mongo.redis
3 years ago
#ports:
# - "6379:6379"
3 years ago
networks:
3 years ago
datacollector-net:
3 years ago
writetomongo:
3 years ago
image: hub.swarmlab.io:5480/poc-datacollector-fluent:latest
3 years ago
container_name: fluentd
user: root
3 years ago
#build: ./WriteToMongo/fluent
3 years ago
# volumes:
# - ./WriteToMongo/fluent:/fluentd/etc
3 years ago
#ports:
# - "24224:24224"
# - "24224:24224/udp"
3 years ago
networks:
3 years ago
datacollector-net:
3 years ago
readmongo:
3 years ago
image: hub.swarmlab.io:5480/poc-datacollector-readmongo:latest
3 years ago
container_name: readmongo_service
restart: always
3 years ago
#logging:
# driver: "fluentd"
# options:
# fluentd-async-connect: "true"
# tag: mongo.node2
3 years ago
#build: ./readmongo
3 years ago
#ports:
# - "3000:3000"
3 years ago
volumes:
- ./readmongo/swarmlab-app/src/run/:/home/node/readmongo/readmongo/swarmlab-app/src/run/
3 years ago
networks:
3 years ago
datacollector-net:
3 years ago
dummy:
3 years ago
image: hub.swarmlab.io:5443/poc-datacollector-dummyservice:latest
3 years ago
container_name: dummy_service
restart: always
3 years ago
#logging:
# driver: "fluentd"
# options:
# fluentd-async-connect: "true"
# tag: mongo.node1
3 years ago
#build: ./dummyservice
3 years ago
#ports:
# - "3001:3001"
volumes:
- ./dummyservice/swarmlab-app/src/run/:/home/node/dummyservice/dummyservice/swarmlab-app/src/run/
3 years ago
- ./WriteToMongo/fluent/fluent.conf:/fluentd/etc/fluent.conf
3 years ago
#links:
# - mongo
3 years ago
networks:
3 years ago
datacollector-net:
3 years ago
# ---- fluentd service ----
mongo:
3 years ago
image: mongo:4.4.9
3 years ago
container_name: mongo
3 years ago
#logging:
# driver: "fluentd"
# options:
# fluentd-async-connect: "true"
# tag: mongo.mongodb
3 years ago
#expose:
#- 27017
3 years ago
#ports:
# - "27017:27017"
3 years ago
networks:
3 years ago
datacollector-net:
3 years ago
# volumes:
# fluent:
# readmongo:
# dummy:
networks:
3 years ago
datacollector-net: