Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Build script comment update

天舟c6c0968ed0c4
diff --git a/Dockerfile b/Dockerfile
index b60593926a..a38771a125 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -60,7 +60,7 @@ LABEL org.opencontainers.image.authors=${BUILD_USER}
COPY --from=backend /backend-build/bytebase /usr/local/bin/
-# Directory to store the data, used as the mount point
+# Directory to store the data, which can be referenced as the mounting point.
RUN mkdir -p /var/opt/bytebase
CMD ["--host", "http://localhost", "--port", "8080", "--data", "/var/opt/bytebase"]
diff --git a/build_docker.sh b/build_docker.sh
index 0532876423..ff6a6781ce 100755
--- a/build_docker.sh
+++ b/build_docker.sh
@@ -31,7 +31,7 @@ echo "Command to start Bytebase on http://localhost:8080"
echo ""
echo "$ docker run --init --name bytebase --restart always --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase"
echo ""
-echo "Command to start Bytebase in demo mode on http://example.com"
+echo "Command to start Bytebase in demo and readonly mode on http://example.com"
echo ""
-echo "$ docker run --init --name bytebase --restart always --publish 80:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase --demo --host http://example.com"
+echo "$ docker run --init --name bytebase --restart always --publish 80:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase --demo --readonly --host http://example.com"
echo ""
\ No newline at end of file