diff --git a/README.md b/README.md index a91826ea6a..5d574c6649 100644 --- a/README.md +++ b/README.md @@ -56,12 +56,22 @@ NocoDB is the fastest and easiest way to build databases online. ## Docker with SQLite ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` ## Docker with PG ```bash -docker run -d --name noco -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" nocodb/nocodb:latest +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest ``` ## Auto-upstall diff --git a/markdown/readme/languages/chinese.md b/markdown/readme/languages/chinese.md index 96d31bd061..246485c1b2 100644 --- a/markdown/readme/languages/chinese.md +++ b/markdown/readme/languages/chinese.md @@ -51,12 +51,21 @@ npm start ```bash # 如果使用 SQLite 的话 -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest - +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest # 如果使用 PostgreSQL 的话 -docker run -d --name noco -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" nocodb/nocodb:latest - +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` > 你可以通过在 0.10.6 以上的版本中挂载 `/usr/app/data/` 来持久化数据,否则你的数据会在重新创建容器后完全丢失。 diff --git a/markdown/readme/languages/dutch.md b/markdown/readme/languages/dutch.md index 1dc786e191..e4d3f55269 100644 --- a/markdown/readme/languages/dutch.md +++ b/markdown/readme/languages/dutch.md @@ -37,8 +37,12 @@ Draait elke MySQL, PostgreSQL, SQL Server, SQLITE & MARIADB in een Smart-Spreads ### Docker gebruiken ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDB needs a database as input : See [Production Setup](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup). - If this input is absent, we fallback to SQLite. In order too persist sqlite, you can mount `/usr/app/data/`. @@ -46,8 +50,14 @@ docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/ Example: ``` - docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` ### GUI diff --git a/markdown/readme/languages/french.md b/markdown/readme/languages/french.md index 50eb1195f5..d167fdbf75 100644 --- a/markdown/readme/languages/french.md +++ b/markdown/readme/languages/french.md @@ -37,8 +37,12 @@ Transformez n'importe quel MySQL, PostgreSQL, SQL Server, SQLite & Mariadb en un ### Utilisez Docker ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDB a besoin d'une base de données en entrée : Voir [Production Setup](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup). - Si cette entrée est absente, nous utiliserons SQLite. Afin de conserver Sqlite, vous pouvez rentrer l'information `/usr/app/data/`. @@ -46,7 +50,13 @@ docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/ Exemple: ``` - docker run -d --name noco -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" nocodb/nocodb:latest + docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest ``` > Pour conserver les données, vous pouvez installer le volume dans `/usr/app/data/`. diff --git a/markdown/readme/languages/german.md b/markdown/readme/languages/german.md index 1dd667325a..093b92b555 100644 --- a/markdown/readme/languages/german.md +++ b/markdown/readme/languages/german.md @@ -37,8 +37,12 @@ Verwandelt jeden MySQL, PostgreSQL, SQL Server, SQLite & MariaDB in eine Smart-T ### Verwenden von Docker ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDB benötigt eine Datenbank zur Eingabe: Siehe [Production Setup](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup). - Fehlt diese Eingabe, wird auf SQLite zurückgegriffen. Um SQLite beständig zu machen, kann `/usr/app/data/` gemountet werden. @@ -46,8 +50,14 @@ docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/ Beispiel: ``` - docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` ### Verwenden von NPM diff --git a/markdown/readme/languages/hindi.md b/markdown/readme/languages/hindi.md index d2143c78a8..7287acfaab 100644 --- a/markdown/readme/languages/hindi.md +++ b/markdown/readme/languages/hindi.md @@ -37,14 +37,24 @@ NocoDB ऑनलाइन डेटाबेस बनाने का सबस ## SQLite के साथ डॉकर ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` ## PG के साथ डॉकर ```bash -docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` ## ऑटो-अपस्टाल diff --git a/markdown/readme/languages/indonesian.md b/markdown/readme/languages/indonesian.md index 8635b39256..6a653317f0 100644 --- a/markdown/readme/languages/indonesian.md +++ b/markdown/readme/languages/indonesian.md @@ -56,12 +56,20 @@ Mengubah MySQL, PostgreSQL, SQL Server, SQLite & MariaDB apapun menjadi spreadsh ```bash # for SQLite -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest - +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest # for PostgreSQL -docker run -d --name noco -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" nocodb/nocodb:latest -```` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest```` > Untuk menyimpan data di dalam Docker, Anda dapat melakukan mount volume di direktori /usr/app/data/ mulai dari versi 0.10.6. Jika tidak, data Anda akan hilang setelah mengulang pembuatan kontainer. diff --git a/markdown/readme/languages/italian.md b/markdown/readme/languages/italian.md index e234a49f5f..a1d6b49cf8 100644 --- a/markdown/readme/languages/italian.md +++ b/markdown/readme/languages/italian.md @@ -37,8 +37,12 @@ Trasforma qualsiasi MySQL, PostgreSQL, SQL Server, SQLite & Mariadb in un foglio ### Con Docker ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDB needs a database as input : See [Production Setup](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup). - Per rendere persistenti i dati puoi montare il volume su `/usr/app/data/`. @@ -46,8 +50,14 @@ docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/ Example: ``` -docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` ### GUI diff --git a/markdown/readme/languages/japanese.md b/markdown/readme/languages/japanese.md index c686fb769f..ff57090a92 100644 --- a/markdown/readme/languages/japanese.md +++ b/markdown/readme/languages/japanese.md @@ -37,8 +37,12 @@ MySQL、PostgreSQL、SQL Server、SQLite&Mariadbをスマートスプレッド ### Docker を使う ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDBは入力としてデータベースが必要です:[本番環境設定](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup)を参照してください。 - この入力がない場合、SQLiteにフォールバックします。SQLiteでデータを保持するために、`/usr/app/data/`をマウントします。 @@ -46,8 +50,14 @@ docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/ 例: ``` - docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` ### GUI diff --git a/markdown/readme/languages/korean.md b/markdown/readme/languages/korean.md index bb4e196ab9..148c035f6f 100644 --- a/markdown/readme/languages/korean.md +++ b/markdown/readme/languages/korean.md @@ -37,8 +37,12 @@ MySQL, PostgreSQL, SQL Server, SQLite, MariaDB를 스마트 스프레드시트 ### Docker 사용 ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDB needs a database as input : See [Production Setup](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup). - 데이터를 계속 저장하려면 반드시 `/usr/app/data/`에 볼륨을 마운트해야 합니다 @@ -46,8 +50,14 @@ docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/ Example: ``` -docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` diff --git a/markdown/readme/languages/portuguese.md b/markdown/readme/languages/portuguese.md index e57a6c3805..5e89d34650 100644 --- a/markdown/readme/languages/portuguese.md +++ b/markdown/readme/languages/portuguese.md @@ -37,16 +37,26 @@ Transforma qualquer MySQL, PostgreSQL, SQL Server, Sqlite e MariaDB em uma plani ### Usando o Docker. ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDB precisa de um banco de dados como entrada : Veja [Production Setup](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup). - Se a entrada não existir, nós voltamos para o SQLite. Para que SQLite também persista, você pode monta-lo em `/usr/app/data/`. Exemplo: ``` - docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` ### GUI diff --git a/markdown/readme/languages/russian.md b/markdown/readme/languages/russian.md index 6ddffd4e88..555a089f0c 100644 --- a/markdown/readme/languages/russian.md +++ b/markdown/readme/languages/russian.md @@ -37,8 +37,12 @@ ### Используя Docker ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDB needs a database as input : See [Production Setup](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup). - Для сохранения данных, вы можете установить том в `/usr/app/data/`. @@ -46,8 +50,14 @@ docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/ Example: ``` - docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` diff --git a/markdown/readme/languages/spanish.md b/markdown/readme/languages/spanish.md index 9091f397f7..a97509f47a 100644 --- a/markdown/readme/languages/spanish.md +++ b/markdown/readme/languages/spanish.md @@ -37,8 +37,12 @@ Convierte cualquier MySQL, PostgreSQL, SQL Server, SQLite y Mariadb en una hoja ### Usando docker ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` - NocoDB necesita de una base de datos previamente creada: Leer [Production Setup](https://github.com/nocodb/nocodb/blob/master/README.md#production-setup). - Para habilitar datos no efímeros se puede usar `/usr/app/data/`. @@ -46,8 +50,14 @@ docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/ Ejemplo: ``` - docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` ### GUI diff --git a/markdown/readme/languages/ukrainian.md b/markdown/readme/languages/ukrainian.md index 0a1789103b..ad3aa5240c 100644 --- a/markdown/readme/languages/ukrainian.md +++ b/markdown/readme/languages/ukrainian.md @@ -66,12 +66,23 @@ Nocodb перетворює будь-яку базу даних MySQL, PostgreSQ ```bash # для SQLite -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest - +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest # для PostgreSQL -docker run -d --name noco -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" nocodb/nocodb:latest -```` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` + + > Щоб зберегти дані в Docker, ви можете змонтувати том в /usr/app/data/ з версії 0.10.6. В іншому випадку ваші дані будуть втрачені після перестворення контейнера. > Якщо ви плануєте вводити будь-які спеціальні символи, вам може знадобитися змінити набір символів та порівняння при створенні бази даних. Будь ласка, перегляньте приклади для [MySQL Docker](https://github.com/nocodb/nocodb/issues/1340#issuecomment-1049481043). diff --git a/markdown/readme/languages/vietnamese.md b/markdown/readme/languages/vietnamese.md index 34c4fee58b..a6a7de5e06 100644 --- a/markdown/readme/languages/vietnamese.md +++ b/markdown/readme/languages/vietnamese.md @@ -35,13 +35,23 @@ NocoDB là cách nhanh nhất và dễ dàng nhất để xây dựng một cơ ## Docker với SQLite ```bash -docker run -d --name noco -v "$(pwd)"/nocodb:/usr/app/data/ -p 8080:8080 nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -v "$(pwd)"/nocodb:/usr/app/data/ \ + -p 8080:8080 \ + nocodb/nocodb:latest + ``` ## Docker với PostgreSQL ```bash -docker run -d --name noco -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" nocodb/nocodb:latest -``` +docker run -d \ + --name noco \ + -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" \ + nocodb/nocodb:latest + ``` ## Auto-upstall Auto-upstall là một câu lệnh duy nhất để triển khai NocoDB trên môi trường production.