|
@ -6,6 +6,9 @@ services: |
|
|
container_name: webclient |
|
|
container_name: webclient |
|
|
ports: |
|
|
ports: |
|
|
- "8080:8080" |
|
|
- "8080:8080" |
|
|
|
|
|
privileged: true |
|
|
|
|
|
cap_add: |
|
|
|
|
|
- NET_ADMIN |
|
|
networks: |
|
|
networks: |
|
|
datacollector-net: |
|
|
datacollector-net: |
|
|
volumes: |
|
|
volumes: |
|
@ -24,18 +27,18 @@ services: |
|
|
# - "6379:6379" |
|
|
# - "6379:6379" |
|
|
networks: |
|
|
networks: |
|
|
datacollector-net: |
|
|
datacollector-net: |
|
|
writetomongo: |
|
|
#writetomongo: |
|
|
image: hub.swarmlab.io:5480/poc-datacollector-fluent:latest |
|
|
# image: hub.swarmlab.io:5480/poc-datacollector-fluent:latest |
|
|
container_name: fluentd |
|
|
# container_name: fluentd |
|
|
user: root |
|
|
# user: root |
|
|
#build: ./WriteToMongo/fluent |
|
|
#build: ./WriteToMongo/fluent |
|
|
# volumes: |
|
|
# volumes: |
|
|
# - ./WriteToMongo/fluent:/fluentd/etc |
|
|
# - ./WriteToMongo/fluent:/fluentd/etc |
|
|
#ports: |
|
|
#ports: |
|
|
# - "24224:24224" |
|
|
# - "24224:24224" |
|
|
# - "24224:24224/udp" |
|
|
# - "24224:24224/udp" |
|
|
networks: |
|
|
# networks: |
|
|
datacollector-net: |
|
|
# datacollector-net: |
|
|
readmongo: |
|
|
readmongo: |
|
|
image: hub.swarmlab.io:5480/poc-datacollector-readmongo:latest |
|
|
image: hub.swarmlab.io:5480/poc-datacollector-readmongo:latest |
|
|
container_name: readmongo_service |
|
|
container_name: readmongo_service |
|
@ -67,8 +70,9 @@ services: |
|
|
volumes: |
|
|
volumes: |
|
|
- ./dummyservice/swarmlab-app/src/run/:/home/node/dummyservice/dummyservice/swarmlab-app/src/run/ |
|
|
- ./dummyservice/swarmlab-app/src/run/:/home/node/dummyservice/dummyservice/swarmlab-app/src/run/ |
|
|
- ./WriteToMongo/fluent/fluent.conf:/fluentd/etc/fluent.conf |
|
|
- ./WriteToMongo/fluent/fluent.conf:/fluentd/etc/fluent.conf |
|
|
#links: |
|
|
deploy: |
|
|
# - mongo |
|
|
mode: replicated |
|
|
|
|
|
replicas: 2 |
|
|
networks: |
|
|
networks: |
|
|
datacollector-net: |
|
|
datacollector-net: |
|
|
# ---- fluentd service ---- |
|
|
# ---- fluentd service ---- |
|
|