This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository
https://gitbox.apache.org/repos/asf/incubator-streampipes-installer.git
The following commit(s) were added to refs/heads/dev by this push:
new df063ae Add docker compose files for NATS broker
new 197092a Merge pull request #13 from mohanvive/dev
df063ae is described below
commit df063ae84caffe45f48485c3f7aca3bd2a59e8c7
Author: mohanadarshan <[email protected]>
AuthorDate: Sat May 8 15:10:57 2021 +0530
Add docker compose files for NATS broker
---
cli/deploy/standalone/nats/docker-compose.dev.yml | 22 +++++++++++++++++
cli/deploy/standalone/nats/docker-compose.yml | 30 +++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/cli/deploy/standalone/nats/docker-compose.dev.yml
b/cli/deploy/standalone/nats/docker-compose.dev.yml
new file mode 100644
index 0000000..7b6cfd0
--- /dev/null
+++ b/cli/deploy/standalone/nats/docker-compose.dev.yml
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: "3.4"
+services:
+ nats:
+ ports:
+ - "4222:4222"
+ - "6222:6222"
+ - "8222:8222"
diff --git a/cli/deploy/standalone/nats/docker-compose.yml
b/cli/deploy/standalone/nats/docker-compose.yml
new file mode 100644
index 0000000..cd5bf03
--- /dev/null
+++ b/cli/deploy/standalone/nats/docker-compose.yml
@@ -0,0 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+version: "3.4"
+services:
+ nats:
+ image: nats
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "1m"
+ max-file: "1"
+ networks:
+ spnet:
+
+networks:
+ spnet:
+ external: true