Browse Source

fix : backup nocodb data folders while running docker-com

Signed-off-by: Naveen MR <oof1lab@gmail.com>
pull/1131/head
Naveen MR 3 years ago
parent
commit
3c557e965e
  1. 2
      README.md
  2. 2
      docker-compose/mssql/docker-compose.yml
  3. 2
      docker-compose/mysql/docker-compose.yml
  4. 2
      docker-compose/nginx-proxy-manager/docker-compose.yml
  5. 2
      docker-compose/pg/docker-compose.yml
  6. 6
      packages/noco-docs/content/en/getting-started/installation.md
  7. 2
      scripts/markdown/readme/languages/chinese.md
  8. 2
      scripts/markdown/readme/languages/dutch.md
  9. 2
      scripts/markdown/readme/languages/french.md
  10. 2
      scripts/markdown/readme/languages/german.md
  11. 2
      scripts/markdown/readme/languages/indonesian.md
  12. 2
      scripts/markdown/readme/languages/italian.md
  13. 2
      scripts/markdown/readme/languages/japanese.md
  14. 2
      scripts/markdown/readme/languages/korean.md
  15. 2
      scripts/markdown/readme/languages/portuguese.md
  16. 2
      scripts/markdown/readme/languages/russian.md
  17. 2
      scripts/markdown/readme/languages/spanish.md

2
README.md

@ -224,7 +224,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Environment variables ## Environment variables

2
docker-compose/mssql/docker-compose.yml

@ -6,6 +6,7 @@ services:
restart: always restart: always
volumes: volumes:
- db_data:/var/opt/mssql - db_data:/var/opt/mssql
- nc_data:/usr/app/data
environment: environment:
SA_PASSWORD: Password123. SA_PASSWORD: Password123.
ACCEPT_EULA: Y ACCEPT_EULA: Y
@ -28,3 +29,4 @@ services:
NC_DB: "mssql://root_db:1433?u=sa&p=Password123.&d=root_db" NC_DB: "mssql://root_db:1433?u=sa&p=Password123.&d=root_db"
volumes: volumes:
db_data: {} db_data: {}
nc_data: {}

2
docker-compose/mysql/docker-compose.yml

@ -5,6 +5,7 @@ services:
image: mysql:5.7 image: mysql:5.7
volumes: volumes:
- db_data:/var/lib/mysql - db_data:/var/lib/mysql
- nc_data:/usr/app/data
restart: always restart: always
environment: environment:
MYSQL_ROOT_PASSWORD: password MYSQL_ROOT_PASSWORD: password
@ -28,3 +29,4 @@ services:
NC_DB: "mysql2://root_db:3306?u=noco&p=password&d=root_db" NC_DB: "mysql2://root_db:3306?u=noco&p=password&d=root_db"
volumes: volumes:
db_data: {} db_data: {}
nc_data: {}

2
docker-compose/nginx-proxy-manager/docker-compose.yml

@ -5,6 +5,7 @@ services:
image: mysql:5.7 image: mysql:5.7
volumes: volumes:
- db_data:/var/lib/mysql - db_data:/var/lib/mysql
- nc_data:/usr/app/data
restart: always restart: always
environment: environment:
MYSQL_ROOT_PASSWORD: password MYSQL_ROOT_PASSWORD: password
@ -49,6 +50,7 @@ services:
volumes: volumes:
nginx-proxy-manager: {} nginx-proxy-manager: {}
db_data: {} db_data: {}
nc_data: {}
networks: networks:
default: default:

2
docker-compose/pg/docker-compose.yml

@ -6,6 +6,7 @@ services:
restart: always restart: always
volumes: volumes:
- db_data:/var/lib/postgresql/data - db_data:/var/lib/postgresql/data
- nc_data:/usr/app/data
environment: environment:
POSTGRES_PASSWORD: password POSTGRES_PASSWORD: password
POSTGRES_USER: postgres POSTGRES_USER: postgres
@ -27,3 +28,4 @@ services:
NC_DB: "pg://root_db:5432?u=postgres&p=password&d=root_db" NC_DB: "pg://root_db:5432?u=postgres&p=password&d=root_db"
volumes: volumes:
db_data: {} db_data: {}
nc_data: {}

6
packages/noco-docs/content/en/getting-started/installation.md

@ -155,7 +155,7 @@ And connection params for this database can be specified in `NC_DB` environment
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql cd mysql
docker-compose up docker-compose up -d
``` ```
</code-block> </code-block>
@ -167,7 +167,7 @@ And connection params for this database can be specified in `NC_DB` environment
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd pg cd pg
docker-compose up docker-compose up -d
``` ```
</code-block> </code-block>
@ -179,7 +179,7 @@ And connection params for this database can be specified in `NC_DB` environment
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mssql cd mssql
docker-compose up docker-compose up -d
``` ```
</code-block> </code-block>

2
scripts/markdown/readme/languages/chinese.md

@ -175,7 +175,7 @@ docker run -d -p 8080:8080 \
git clone https://github.com/nocodb/nocodb git clone https://github.com/nocodb/nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## 环境变量 ## 环境变量

2
scripts/markdown/readme/languages/dutch.md

@ -189,7 +189,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Environment variables ## Environment variables

2
scripts/markdown/readme/languages/french.md

@ -180,7 +180,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Variables d'environnement ## Variables d'environnement

2
scripts/markdown/readme/languages/german.md

@ -191,7 +191,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Umgebungsvariablen ## Umgebungsvariablen

2
scripts/markdown/readme/languages/indonesian.md

@ -190,7 +190,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Environment variables ## Environment variables

2
scripts/markdown/readme/languages/italian.md

@ -192,7 +192,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Variabili d'ambiente ## Variabili d'ambiente

2
scripts/markdown/readme/languages/japanese.md

@ -192,7 +192,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Environment variables ## Environment variables

2
scripts/markdown/readme/languages/korean.md

@ -193,7 +193,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## 환경변수 ## 환경변수

2
scripts/markdown/readme/languages/portuguese.md

@ -191,7 +191,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Environment variables ## Environment variables

2
scripts/markdown/readme/languages/russian.md

@ -193,7 +193,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Переменные среды ## Переменные среды

2
scripts/markdown/readme/languages/spanish.md

@ -191,7 +191,7 @@ git clone https://github.com/nocodb/nocodb
cd nocodb cd nocodb
cd docker-compose cd docker-compose
cd mysql or pg or mssql cd mysql or pg or mssql
docker-compose up docker-compose up -d
``` ```
## Variables de entorno ## Variables de entorno

Loading…
Cancel
Save