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.
102 lines
2.5 KiB
102 lines
2.5 KiB
version: "3.3"
|
|
|
|
services:
|
|
webclient:
|
|
image: hub.swarmlab.io:5480/poc-datacollector-node:latest
|
|
container_name: webclient
|
|
ports:
|
|
- "7085:8080"
|
|
privileged: true
|
|
cap_add:
|
|
- NET_ADMIN
|
|
networks:
|
|
datacollector-net:
|
|
volumes:
|
|
- ./playground-client/src/:/home/node/playground-client/src/
|
|
- ./playground-client/.env:/home/node/playground-client/.env
|
|
redisserver:
|
|
#image: hub.swarmlab.io:5480/playground-redisserver:latest
|
|
#container_name: redisserver
|
|
image: redis:6.0.9-alpine
|
|
container_name: redisserver
|
|
#logging:
|
|
# driver: "fluentd"
|
|
# options:
|
|
# fluentd-async-connect: "true"
|
|
# tag: mongo.redis
|
|
#ports:
|
|
# - "6379:6379"
|
|
networks:
|
|
datacollector-net:
|
|
#writetomongo:
|
|
# image: hub.swarmlab.io:5480/poc-datacollector-fluent:latest
|
|
# container_name: fluentd
|
|
# user: root
|
|
#build: ./WriteToMongo/fluent
|
|
# volumes:
|
|
# - ./WriteToMongo/fluent:/fluentd/etc
|
|
#ports:
|
|
# - "24224:24224"
|
|
# - "24224:24224/udp"
|
|
# networks:
|
|
# datacollector-net:
|
|
readmongo:
|
|
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
|
|
#build: ./readmongo
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./readmongo/swarmlab-app/src/run/:/home/node/readmongo/swarmlab-app/src/run/
|
|
- ./readmongo/swarmlab-app/src/.env:/home/node/readmongo/swarmlab-app/src/.env
|
|
networks:
|
|
datacollector-net:
|
|
dummy:
|
|
image: hub.swarmlab.io:5480/poc-datacollector-dummyservice:latest
|
|
container_name: dummy_service
|
|
restart: always
|
|
#logging:
|
|
# driver: "fluentd"
|
|
# options:
|
|
# fluentd-async-connect: "true"
|
|
# tag: mongo.node1
|
|
#build: ./dummyservice
|
|
#ports:
|
|
# - "3001:3001"
|
|
volumes:
|
|
- ./dummyservice/swarmlab-app/src/run/:/home/node/dummyservice/swarmlab-app/src/run/
|
|
- ./WriteToMongo/fluent/fluent.conf:/fluentd/etc/fluent.conf
|
|
#deploy:
|
|
# mode: replicated
|
|
# replicas: 2
|
|
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
|
|
#expose:
|
|
#- 27017
|
|
#ports:
|
|
# - "27017:27017"
|
|
networks:
|
|
datacollector-net:
|
|
|
|
# volumes:
|
|
# fluent:
|
|
# readmongo:
|
|
# dummy:
|
|
|
|
networks:
|
|
datacollector-net:
|
|
|