From 78dd17cb299b2cede08fe623d202a5269445231d Mon Sep 17 00:00:00 2001 From: JavierLopezT Date: Sat, 10 Jul 2021 19:59:02 +0200 Subject: [PATCH] docs: Small addition in add new databases with docker (#15410) * Small addition add new databases docker * Update docker-add-drivers.mdx Since no reply from @JavierLopezT I've gone ahead and incorporated @mvoitko's feedback and using this as an opportunity to educate (instead of showcasing an escape valve) Co-authored-by: javier.lopez Co-authored-by: Srini Kadamati --- .../docs/Connecting to Databases/docker-add-drivers.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/src/pages/docs/Connecting to Databases/docker-add-drivers.mdx b/docs/src/pages/docs/Connecting to Databases/docker-add-drivers.mdx index cf3892f6f3..e54d9a94a0 100644 --- a/docs/src/pages/docs/Connecting to Databases/docker-add-drivers.mdx +++ b/docs/src/pages/docs/Connecting to Databases/docker-add-drivers.mdx @@ -53,12 +53,18 @@ Rebuild your local image with the new driver baked in: docker-compose build --force-rm ``` -After the rebuild is complete, which make take a few minutes, relaunch: +After the rebuild of the Docker images is complete (which make take a few minutes) you can relaunch using the following command: ``` docker-compose up ``` +The other option is to start Superset via Docker Compose is using the recipe in `docker-compose-non-dev.yml`, which will use pre-built frontend assets and skip the building of front-end assets: + +``` +docker-compose -f docker-compose-non-dev.yml up +``` + ### 3. Connect to MySQL Now that you've got a MySQL driver installed locally, you should be able to test it out.