From 8cc87fa65f723538864060c8db4ca42b6df8ef25 Mon Sep 17 00:00:00 2001 From: lefos Date: Mon, 4 Oct 2021 23:02:19 +0300 Subject: [PATCH 1/4] final --- WriteToMongo | 2 +- dummyservice | 2 +- playground-client | 2 +- readmongo | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WriteToMongo b/WriteToMongo index 5a48370..c74bc89 160000 --- a/WriteToMongo +++ b/WriteToMongo @@ -1 +1 @@ -Subproject commit 5a483700b9463acaa38dc50230515c53aa509521 +Subproject commit c74bc894cd4922ff8eb7bfc8d9bcf836c5c89b8a diff --git a/dummyservice b/dummyservice index b67f60b..1ac7213 160000 --- a/dummyservice +++ b/dummyservice @@ -1 +1 @@ -Subproject commit b67f60bbed66e8b4198a549a6600ae11e861bbde +Subproject commit 1ac721330ee55356c6f8d8ab20eeb52957c3aea5 diff --git a/playground-client b/playground-client index 5be6c55..b797d10 160000 --- a/playground-client +++ b/playground-client @@ -1 +1 @@ -Subproject commit 5be6c5580d704c57798676d2b463ee1eba22e0a8 +Subproject commit b797d1044cf18e8173e1cfbe39db8c644e33ccb2 diff --git a/readmongo b/readmongo index 8a9a6bd..d3ea40b 160000 --- a/readmongo +++ b/readmongo @@ -1 +1 @@ -Subproject commit 8a9a6bd8da5cf8fc2850dfa7684bc98e5f043ddf +Subproject commit d3ea40b69f82a18bb4ceae42d22aa2a01dcbb069 From 6b7deb226ab93eb69a7307150ed74fe897eb3ebe Mon Sep 17 00:00:00 2001 From: lefos Date: Tue, 5 Oct 2021 00:22:08 +0300 Subject: [PATCH 2/4] docker-compose mongo --- docker-compose.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b6436f8..14d349c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,8 +21,8 @@ services: container_name: fluentd user: root build: ./WriteToMongo/fluent - volumes: - - ./WriteToMongo/fluent:/fluentd/etc + # volumes: + # - ./WriteToMongo/fluent:/fluentd/etc ports: - "24224:24224" - "24224:24224/udp" @@ -42,8 +42,8 @@ services: image: readmongo:latest ports: - "3000:3000" - volumes: - - ./readmongo:/usr/src/app + # volumes: + # - ./readmongo:/usr/src/app links: - mongo networks: @@ -82,8 +82,8 @@ services: image: dummyservice:latest ports: - "3001:3001" - volumes: - - ./dummyservice:/usr/src/app + # volumes: + # - ./dummyservice:/usr/src/app links: - mongo networks: @@ -96,7 +96,7 @@ services: options: fluentd-async-connect: "true" tag: mongo.mongodb - image: mongo + image: mongo:4.4.9 expose: - 27017 ports: @@ -104,10 +104,10 @@ services: networks: playground-net: -volumes: - fluent: - readmongo: - dummy: +# volumes: +# fluent: +# readmongo: +# dummy: networks: playground-net: From 732c7f37445b3f7e128c5db80c44a45fec9ee018 Mon Sep 17 00:00:00 2001 From: lefos Date: Tue, 5 Oct 2021 00:25:43 +0300 Subject: [PATCH 3/4] submodules --- dummyservice | 2 +- readmongo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dummyservice b/dummyservice index 1ac7213..5a53c92 160000 --- a/dummyservice +++ b/dummyservice @@ -1 +1 @@ -Subproject commit 1ac721330ee55356c6f8d8ab20eeb52957c3aea5 +Subproject commit 5a53c9243be9d65e148847dd8db0ef439f13c441 diff --git a/readmongo b/readmongo index d3ea40b..0c56044 160000 --- a/readmongo +++ b/readmongo @@ -1 +1 @@ -Subproject commit d3ea40b69f82a18bb4ceae42d22aa2a01dcbb069 +Subproject commit 0c560440833932d23d128e6dd77fc8e4012f8f7d From 219a82fc02201d3eff2e2758f3b75902b6b34724 Mon Sep 17 00:00:00 2001 From: lefteris Date: Thu, 7 Oct 2021 18:29:27 +0300 Subject: [PATCH 4/4] example --- Example.sh | 1 + WriteToMongo | 2 +- playground-client | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100755 Example.sh diff --git a/Example.sh b/Example.sh new file mode 100755 index 0000000..2320a4b --- /dev/null +++ b/Example.sh @@ -0,0 +1 @@ +docker run --network="thesis_playground-net" --log-driver=fluentd --log-opt tag="mongo.node3" -p 3003:3001 dummyservice \ No newline at end of file diff --git a/WriteToMongo b/WriteToMongo index c74bc89..56dfa1a 160000 --- a/WriteToMongo +++ b/WriteToMongo @@ -1 +1 @@ -Subproject commit c74bc894cd4922ff8eb7bfc8d9bcf836c5c89b8a +Subproject commit 56dfa1a56d4c7b03dfcef6006156705203716af8 diff --git a/playground-client b/playground-client index b797d10..74aa959 160000 --- a/playground-client +++ b/playground-client @@ -1 +1 @@ -Subproject commit b797d1044cf18e8173e1cfbe39db8c644e33ccb2 +Subproject commit 74aa9595e639f200965b62cae899ca81b750b6a7