Browse Source

docs : mount the pwd/nocodb

Simple copy paste of docker run should work

Signed-off-by: Naveen MR <oof1lab@gmail.com>
pull/1728/head
Naveen MR 3 years ago
parent
commit
c1023f9011
  1. 8
      README.md
  2. 2
      packages/noco-docs-prev/content/en/setup-and-usages/dashboard.md
  3. 8
      packages/noco-docs/content/en/getting-started/installation.md
  4. 2
      scripts/markdown/readme/languages/chinese.md
  5. 2
      scripts/markdown/readme/languages/dutch.md
  6. 2
      scripts/markdown/readme/languages/french.md
  7. 2
      scripts/markdown/readme/languages/german.md
  8. 2
      scripts/markdown/readme/languages/indonesian.md
  9. 2
      scripts/markdown/readme/languages/italian.md
  10. 2
      scripts/markdown/readme/languages/japanese.md
  11. 2
      scripts/markdown/readme/languages/korean.md
  12. 2
      scripts/markdown/readme/languages/portuguese.md
  13. 2
      scripts/markdown/readme/languages/russian.md
  14. 2
      scripts/markdown/readme/languages/spanish.md

8
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" \

2
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

8
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" \

2
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

2
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

2
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/`.

2
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

2
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

2
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

2
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 を使用して

2
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 사용

2
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.

2
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

2
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.

Loading…
Cancel
Save