|
@ -70,9 +70,9 @@ services: |
|
|
volumes: |
|
|
volumes: |
|
|
- ./dummyservice/swarmlab-app/src/run/:/home/node/dummyservice/swarmlab-app/src/run/ |
|
|
- ./dummyservice/swarmlab-app/src/run/:/home/node/dummyservice/swarmlab-app/src/run/ |
|
|
- ./WriteToMongo/fluent/fluent.conf:/fluentd/etc/fluent.conf |
|
|
- ./WriteToMongo/fluent/fluent.conf:/fluentd/etc/fluent.conf |
|
|
deploy: |
|
|
#deploy: |
|
|
mode: replicated |
|
|
# mode: replicated |
|
|
replicas: 2 |
|
|
# replicas: 2 |
|
|
networks: |
|
|
networks: |
|
|
datacollector-net: |
|
|
datacollector-net: |
|
|
# ---- fluentd service ---- |
|
|
# ---- fluentd service ---- |
|
|