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