|
|
@ -1,11 +1,17 @@ |
|
|
|
version: "3.3" |
|
|
|
|
|
|
|
services: |
|
|
|
webclient: |
|
|
|
image: hub.swarmlab.io:5480/poc-datacollector-node:latest |
|
|
|
container_name: webclient |
|
|
|
ports: |
|
|
|
- "8085:8080" |
|
|
|
networks: |
|
|
|
datacollector-net: |
|
|
|
redisserver: |
|
|
|
#image: hub.swarmlab.io:5480/playground-redisserver:latest |
|
|
|
container_name: redisserver |
|
|
|
depends_on: |
|
|
|
- writetomongo |
|
|
|
#container_name: redisserver |
|
|
|
container_name: redis:6.2.6-alpine |
|
|
|
logging: |
|
|
|
driver: "fluentd" |
|
|
|
options: |
|
|
@ -15,7 +21,7 @@ services: |
|
|
|
ports: |
|
|
|
- "6379:6379" |
|
|
|
networks: |
|
|
|
playground-net: |
|
|
|
datacollector-net: |
|
|
|
writetomongo: |
|
|
|
image: writemongo:latest |
|
|
|
container_name: fluentd |
|
|
@ -27,7 +33,7 @@ services: |
|
|
|
- "24224:24224" |
|
|
|
- "24224:24224/udp" |
|
|
|
networks: |
|
|
|
playground-net: |
|
|
|
datacollector-net: |
|
|
|
readmongo: |
|
|
|
container_name: readmongo_service |
|
|
|
restart: always |
|
|
@ -47,7 +53,7 @@ services: |
|
|
|
links: |
|
|
|
- mongo |
|
|
|
networks: |
|
|
|
playground-net: |
|
|
|
datacollector-net: |
|
|
|
dummy: |
|
|
|
container_name: dummy_service |
|
|
|
restart: always |
|
|
@ -67,7 +73,7 @@ services: |
|
|
|
links: |
|
|
|
- mongo |
|
|
|
networks: |
|
|
|
playground-net: |
|
|
|
datacollector-net: |
|
|
|
# ---- fluentd service ---- |
|
|
|
mongo: |
|
|
|
container_name: mongo |
|
|
@ -82,7 +88,7 @@ services: |
|
|
|
ports: |
|
|
|
- "27017:27017" |
|
|
|
networks: |
|
|
|
playground-net: |
|
|
|
datacollector-net: |
|
|
|
|
|
|
|
# volumes: |
|
|
|
# fluent: |
|
|
@ -90,4 +96,4 @@ services: |
|
|
|
# dummy: |
|
|
|
|
|
|
|
networks: |
|
|
|
playground-net: |
|
|
|
datacollector-net: |
|
|
|