From b05fd76cc6e8365e445ce071cb25e47bb8ca0a99 Mon Sep 17 00:00:00 2001 From: Taylor Bantle Date: Mon, 27 Nov 2023 14:49:46 -0800 Subject: [PATCH] Update README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 70f08925..3e3611a0 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,15 @@ Navigate to http://localhost:3000 to enter your database information. You can find more in-depth instructions on [DockerHub](https://hub.docker.com/r/dolthub/dolt-workbench). +### Saving connection information between runs + +If you want to save connection information between Docker runs, you can mount a local +directory to the `store` directory in `/app/graphql-server` in the container. + +``` +% docker run -p 9002:9002 -p 3000:3000 -v ~/path/to/store:/app/graphql-server/store dolthub/dolt-workbench:latest +``` + ## Getting started from source First, clone this repository.