diff --git a/README.md b/README.md index 64f105633d..2757641f23 100644 --- a/README.md +++ b/README.md @@ -93,13 +93,13 @@ npm start ```bash # for SQLite docker run -d --name nocodb \ --v /local/path:/usr/app/data/ \ +-v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ nocodb/nocodb:latest # for MySQL docker run -d --name nocodb-mysql \ --v /local/path:/usr/app/data/ \ +-v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ -e NC_DB="mysql2://host.docker.internal:3306?u=root&p=password&d=d1" \ -e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \ @@ -107,7 +107,7 @@ nocodb/nocodb:latest # for PostgreSQL docker run -d --name nocodb-postgres \ --v /local/path:/usr/app/data/ \ +-v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ -e NC_DB="pg://host.docker.internal:5432?u=root&p=password&d=d1" \ -e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \ @@ -115,7 +115,7 @@ nocodb/nocodb:latest # for MSSQL docker run -d --name nocodb-mssql \ --v /local/path:/usr/app/data/ \ +-v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ -e NC_DB="mssql://host.docker.internal:1433?u=root&p=password&d=d1" \ -e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \ diff --git a/packages/noco-docs-prev/content/en/setup-and-usages/dashboard.md b/packages/noco-docs-prev/content/en/setup-and-usages/dashboard.md index c5c81a2e99..9468e72a3c 100644 --- a/packages/noco-docs-prev/content/en/setup-and-usages/dashboard.md +++ b/packages/noco-docs-prev/content/en/setup-and-usages/dashboard.md @@ -31,7 +31,7 @@ If you are using Docker, it is recommended to mount `/usr/app/data/` for persist Example: ``` -docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest +docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ## Initialize your first project diff --git a/packages/noco-docs/content/en/getting-started/installation.md b/packages/noco-docs/content/en/getting-started/installation.md index ca6f996cf0..f62db95801 100644 --- a/packages/noco-docs/content/en/getting-started/installation.md +++ b/packages/noco-docs/content/en/getting-started/installation.md @@ -66,7 +66,7 @@ If you are a Docker user, you may try this way! ```bash docker run -d --name nocodb \ - -v /local/path:/usr/app/data/ \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ nocodb/nocodb:latest ``` @@ -77,7 +77,7 @@ If you are a Docker user, you may try this way! ```bash docker run -d --name nocodb-mysql \ - -v /local/path:/usr/app/data/ \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ -e NC_DB="mysql2://host.docker.internal:3306?u=root&p=password&d=d1" \ -e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \ @@ -90,7 +90,7 @@ If you are a Docker user, you may try this way! ```bash docker run -d --name nocodb-postgres \ - -v /local/path:/usr/app/data/ \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ -e NC_DB="pg://host.docker.internal:5432?u=root&p=password&d=d1" \ -e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \ @@ -103,7 +103,7 @@ If you are a Docker user, you may try this way! ```bash docker run -d --name nocodb-mssql \ - -v /local/path:/usr/app/data/ \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ -p 8080:8080 \ -e NC_DB="mssql://host.docker.internal:1433?u=root&p=password&d=d1" \ -e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \ diff --git a/scripts/markdown/readme/languages/chinese.md b/scripts/markdown/readme/languages/chinese.md index e324e52081..cd672cff6e 100644 --- a/scripts/markdown/readme/languages/chinese.md +++ b/scripts/markdown/readme/languages/chinese.md @@ -55,7 +55,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest 示例: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### 使用NPM diff --git a/scripts/markdown/readme/languages/dutch.md b/scripts/markdown/readme/languages/dutch.md index d08f6fdf15..118b2f9196 100644 --- a/scripts/markdown/readme/languages/dutch.md +++ b/scripts/markdown/readme/languages/dutch.md @@ -59,7 +59,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### Gebruik van NPM diff --git a/scripts/markdown/readme/languages/french.md b/scripts/markdown/readme/languages/french.md index 2f6b14d089..28ef11a9fc 100644 --- a/scripts/markdown/readme/languages/french.md +++ b/scripts/markdown/readme/languages/french.md @@ -57,7 +57,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` > To persist data you can mount volume at `/usr/app/data/`. diff --git a/scripts/markdown/readme/languages/german.md b/scripts/markdown/readme/languages/german.md index c3decc7258..3b15008785 100644 --- a/scripts/markdown/readme/languages/german.md +++ b/scripts/markdown/readme/languages/german.md @@ -59,7 +59,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Beispiel: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### Verwenden von NPM diff --git a/scripts/markdown/readme/languages/indonesian.md b/scripts/markdown/readme/languages/indonesian.md index 8f0dfedd91..67bd188253 100644 --- a/scripts/markdown/readme/languages/indonesian.md +++ b/scripts/markdown/readme/languages/indonesian.md @@ -59,7 +59,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### Menggunakan NPM diff --git a/scripts/markdown/readme/languages/italian.md b/scripts/markdown/readme/languages/italian.md index f33566f054..da4c756bc2 100644 --- a/scripts/markdown/readme/languages/italian.md +++ b/scripts/markdown/readme/languages/italian.md @@ -58,7 +58,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### Con NPM diff --git a/scripts/markdown/readme/languages/japanese.md b/scripts/markdown/readme/languages/japanese.md index 03f1e32819..4a25fbf715 100644 --- a/scripts/markdown/readme/languages/japanese.md +++ b/scripts/markdown/readme/languages/japanese.md @@ -59,7 +59,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### NPM を使用して diff --git a/scripts/markdown/readme/languages/korean.md b/scripts/markdown/readme/languages/korean.md index d424c22101..954ed90932 100644 --- a/scripts/markdown/readme/languages/korean.md +++ b/scripts/markdown/readme/languages/korean.md @@ -59,7 +59,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb: + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb: ### npm 사용 diff --git a/scripts/markdown/readme/languages/portuguese.md b/scripts/markdown/readme/languages/portuguese.md index b0af3efc3c..5667c0ed4e 100644 --- a/scripts/markdown/readme/languages/portuguese.md +++ b/scripts/markdown/readme/languages/portuguese.md @@ -59,7 +59,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### Usando npm. diff --git a/scripts/markdown/readme/languages/russian.md b/scripts/markdown/readme/languages/russian.md index e1fe2cba40..038c56bf28 100644 --- a/scripts/markdown/readme/languages/russian.md +++ b/scripts/markdown/readme/languages/russian.md @@ -59,7 +59,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### Используя NPM diff --git a/scripts/markdown/readme/languages/spanish.md b/scripts/markdown/readme/languages/spanish.md index a2c1e63822..d09b815fc4 100644 --- a/scripts/markdown/readme/languages/spanish.md +++ b/scripts/markdown/readme/languages/spanish.md @@ -59,7 +59,7 @@ docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest Example: ``` - docker run -d -p 8080:8080 --name nocodb -v /local/path:/usr/app/data/ nocodb/nocodb:latest + docker run -d -p 8080:8080 --name nocodb -v "$(pwd)"/nocodb:/usr/app/data/ nocodb/nocodb:latest ``` ### Usando npm.