You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/09/24 22:23:35 UTC

[GitHub] srkukarni closed pull request #2618: Guard against NaN for double type metrics

srkukarni closed pull request #2618: Guard against NaN for double type metrics
URL: https://github.com/apache/pulsar/pull/2618
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docker-compose/standalone-dashboard/README.MD b/docker-compose/standalone-dashboard/README.MD
new file mode 100644
index 0000000000..654c76be83
--- /dev/null
+++ b/docker-compose/standalone-dashboard/README.MD
@@ -0,0 +1,45 @@
+<!--
+
+    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.
+
+-->
+# Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+## Urls
+
+Assuming localhost the the following endpoint will be available
+
+
+[web-dashboard](http://localhost:80) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
+
+[broker-admin](http://localhost:8080) access broker rest  interface
+
+[broker-service-url](pulsar//:locahost:6650)  broker service url for use with producers and consumers
+
+
+You can shut it down with the following command in folder path
+
+```
+docker-compose down
+```
\ No newline at end of file
diff --git a/docker-compose/standalone-dashboard/docker-compose.yml b/docker-compose/standalone-dashboard/docker-compose.yml
new file mode 100644
index 0000000000..2a3a422b51
--- /dev/null
+++ b/docker-compose/standalone-dashboard/docker-compose.yml
@@ -0,0 +1,43 @@
+#
+# 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: '2'
+
+services:
+
+  standalone:
+    image: apachepulsar/pulsar
+    expose:
+      - 8080
+      - 6650 
+    environment:
+      - PULSAR_MEM=" -Xms512m -Xmx512m -XX:MaxDirectMemorySize=1g"
+    command: >
+      /bin/bash -c
+      "bin/apply-config-from-env.py conf/standalone.conf
+      && bin/pulsar standalone"
+
+  dashboard:
+    image: apachepulsar/pulsar-dashboard
+    depends_on:
+      - standalone
+    ports:
+      - "80:80"
+    environment:
+      - SERVICE_URL=http://standalone:8080


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services