summaryrefslogtreecommitdiff
path: root/dev-db/cockroach/files/cockroach.confd
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/cockroach/files/cockroach.confd')
-rw-r--r--dev-db/cockroach/files/cockroach.confd14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-db/cockroach/files/cockroach.confd b/dev-db/cockroach/files/cockroach.confd
new file mode 100644
index 000000000000..37593e217c71
--- /dev/null
+++ b/dev-db/cockroach/files/cockroach.confd
@@ -0,0 +1,14 @@
+# The default setup is for the first node of an insecure cluster that only
+# listens on localhost.
+# Please read the cockroach manual at the following url and configure
+# the start_args and stop_args correctly if you plan to use cockroach in
+# production.
+#
+# http://cockroachlabs.com/docs
+#
+# arguments to use when starting the database
+start_args="--http-host=localhost --host=localhost --insecure
+--store=/var/lib/cockroach/data"
+#
+# arguments to use when stopping the database
+stop_args="--host localhost --insecure"