From 8ca8ba5910fbdd36292884ccc32462b37cdd7710 Mon Sep 17 00:00:00 2001 From: Naveen MR Date: Sun, 6 Jun 2021 13:48:24 +0530 Subject: [PATCH] Docs : Start docker in detached mode Signed-off-by: Naveen MR --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b07ed78183..ac58db8432 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart-spreadshe ### Using Docker ```bash -docker run --name nocodb -p 8080:8080 nocodb/nocodb +docker run -d --name nocodb -p 8080:8080 nocodb/nocodb ``` ### Using Npm @@ -130,17 +130,17 @@ And connection params for this database can be specified in `NC_DB` environment #### Example MySQL ``` -docker run -p 8080:8080 -e NC_DB="mysql2://host:port?u=user&p=password&d=database" nocodb/nocodb +docker run -d -p 8080:8080 -e NC_DB="mysql2://host:port?u=user&p=password&d=database" nocodb/nocodb ``` #### Example Postgres ``` -docker run -p 8080:8080 -e NC_DB="pg://host:port?u=user&p=password&d=database" nocodb/nocodb +docker run -d -p 8080:8080 -e NC_DB="pg://host:port?u=user&p=password&d=database" nocodb/nocodb ``` #### Example SQL Server ``` -docker run -p 8080:8080 -e NC_DB="mssql://host:port?u=user&p=password&d=database" nocodb/nocodb +docker run -d -p 8080:8080 -e NC_DB="mssql://host:port?u=user&p=password&d=database" nocodb/nocodb ``` ## Environment variables