Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Suggest “—restart always” in the docker run command
天舟b53b4f85761c
diff --git a/build_docker.sh b/build_docker.shindex 2a40ccbd52..902da6f0e9 100755--- a/build_docker.sh+++ b/build_docker.sh@@ -25,9 +25,9 @@ echo "${GREEN}Completed building Bytebase docker image ${VERSION}.${NC}"echo ""echo "Command to start Bytebase on http://localhost:8080"echo ""-echo "$ docker run --init --rm --name bytebase --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase"+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 ""-echo "$ docker run --init --rm --name bytebase --publish 80:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase --mode demo --host http://example.com"+echo "$ docker run --init --name bytebase --restart always --publish 80:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase --mode demo --host http://example.com"echo ""\ No newline at end of file