|
|
@ -11,13 +11,13 @@ services: |
|
|
|
redisserver: |
|
|
|
#image: hub.swarmlab.io:5480/playground-redisserver:latest |
|
|
|
#container_name: redisserver |
|
|
|
image: redis:6.0.9-alpine |
|
|
|
container_name: redis:6.2.6-alpine |
|
|
|
logging: |
|
|
|
driver: "fluentd" |
|
|
|
options: |
|
|
|
fluentd-async-connect: "true" |
|
|
|
tag: mongo.redis |
|
|
|
image: redis:6.0.9-alpine |
|
|
|
ports: |
|
|
|
- "6379:6379" |
|
|
|
networks: |
|
|
@ -51,17 +51,15 @@ services: |
|
|
|
networks: |
|
|
|
datacollector-net: |
|
|
|
dummy: |
|
|
|
image: hub.swarmlab.io:5443/poc-datacollector-dummyservice:latest |
|
|
|
container_name: dummy_service |
|
|
|
restart: always |
|
|
|
depends_on: |
|
|
|
- writetomongo |
|
|
|
logging: |
|
|
|
driver: "fluentd" |
|
|
|
options: |
|
|
|
fluentd-async-connect: "true" |
|
|
|
tag: mongo.node1 |
|
|
|
build: ./dummyservice |
|
|
|
image: dummyservice:latest |
|
|
|
#build: ./dummyservice |
|
|
|
ports: |
|
|
|
- "3001:3001" |
|
|
|
# volumes: |
|
|
@ -72,13 +70,13 @@ services: |
|
|
|
datacollector-net: |
|
|
|
# ---- fluentd service ---- |
|
|
|
mongo: |
|
|
|
image: mongo:4.4.9 |
|
|
|
container_name: mongo |
|
|
|
logging: |
|
|
|
driver: "fluentd" |
|
|
|
options: |
|
|
|
fluentd-async-connect: "true" |
|
|
|
tag: mongo.mongodb |
|
|
|
image: mongo:4.4.9 |
|
|
|
expose: |
|
|
|
- 27017 |
|
|
|
ports: |
|
|
|