adutra commented on code in PR #2994:
URL: https://github.com/apache/polaris/pull/2994#discussion_r2498107405


##########
persistence/nosql/persistence/docker/mongodb-3-nodes/docker-compose.yml:
##########
@@ -0,0 +1,86 @@
+#
+# 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.
+#
+
+
+#### Instructions
+#
+# docker compose up
+#
+# ./gradlew :polaris-persistence-nosql-benchmark:jmhJar && \
+#   java \
+#     -Dpolaris.persistence.backend.type=MongoDb \
+#     
-Dpolaris.persistence.backend.mongodb.connection-string=mongodb://127.0.0.1:27017,127.0.0.1:27018,127.0.0.1:27019/?replicaSet=rs0
 \
+#     -Dpolaris.persistence.backend.mongodb.database-name=test \
+#     -jar 
persistence/benchmark/build/libs/polaris-persistence-nosql-benchmark-1.0.0-incubating-SNAPSHOT-jmh.jar
+#
+# MAKE SURE TO ADD
+#    127.0.0.1    host.docker.internal
+# TO THE HOST'S /etc/hosts FILE
+#
+# Once done (after `docker compose down`):
+#   podman volume rm mongodb-3-nodes_mongo1_config mongodb-3-nodes_mongo1_data 
mongodb-3-nodes_mongo2_config mongodb-3-nodes_mongo2_data 
mongodb-3-nodes_mongo3_config mongodb-3-nodes_mongo3_data

Review Comment:
   micro nit: we say docker above, and here we say podman.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to