Browse Source

fix : pull latest docker instead of 0.11.33.

pull/559/head
Naveen MR 3 years ago
parent
commit
b33f37d94f
  1. 8
      README.md
  2. 2
      docker-compose/letsencrypt/nc.sh
  3. 2
      docker-compose/mssql/docker-compose.yml
  4. 2
      docker-compose/mysql/docker-compose.yml
  5. 2
      docker-compose/pg/docker-compose.yml
  6. 2
      docker-compose/traefik/docker-compose.yml
  7. 2
      packages/nc-cli/src/lib/mgr/DockerMgr.ts
  8. 4
      packages/nc-cli/src/lib/mgr/NewMgr.ts
  9. 2
      packages/noco-book/content/en/index.md
  10. 10
      packages/noco-docs/content/en/getting-started/installation.md
  11. 6
      packages/noco-docs/content/en/getting-started/upgrading.md
  12. 2
      packages/noco-docs/content/en/setup-and-usages/dashboard.md

8
README.md

@ -44,7 +44,7 @@ Turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart-spreadshe
### Using Docker
```bash
docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:0.11.33
docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest
```
> To persist data you can mount volume at `/usr/app/data/`.
@ -151,7 +151,7 @@ And connection params for this database can be specified in `NC_DB` environment
docker run -d -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" \
nocodb/nocodb:0.11.33
nocodb/nocodb:latest
```
#### Example Postgres
@ -159,7 +159,7 @@ docker run -d -p 8080:8080 \
docker run -d -p 8080:8080 \
-e NC_DB="pg://host:port?u=user&p=password&d=database" \
-e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \
nocodb/nocodb:0.11.33
nocodb/nocodb:latest
```
#### Example SQL Server
@ -167,7 +167,7 @@ docker run -d -p 8080:8080 \
docker run -d -p 8080:8080 \
-e NC_DB="mssql://host:port?u=user&p=password&d=database" \
-e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \
nocodb/nocodb:0.11.33
nocodb/nocodb:latest
```
## Docker Compose

2
docker-compose/letsencrypt/nc.sh

@ -50,7 +50,7 @@ docker run -p 8080:8080 -p 8081:8081 -p 8082:8082 -d --name xc-instant \
-e LETSENCRYPT_HOST="$domain" \
-e LETSENCRYPT_EMAIL="$email" \
-e VIRTUAL_PORT=8080 \
--network=webproxy nocodb/nocodb:0.11.33
--network=webproxy nocodb/nocodb:latest

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

@ -20,7 +20,7 @@ services:
depends_on:
root_db:
condition: service_healthy
image: nocodb/nocodb:0.11.33
image: nocodb/nocodb:latest
ports:
- "8080:8080"
- "8081:8081"

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

@ -20,7 +20,7 @@ services:
depends_on:
root_db:
condition: service_healthy
image: nocodb/nocodb:0.11.33
image: nocodb/nocodb:latest
ports:
- "8080:8080"
- "8081:8081"

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

@ -19,7 +19,7 @@ services:
depends_on:
root_db:
condition: service_healthy
image: nocodb/nocodb:0.11.33
image: nocodb/nocodb:latest
ports:
- "8080:8080"
- "8081:8081"

2
docker-compose/traefik/docker-compose.yml

@ -67,7 +67,7 @@ services:
nocodb:
container_name: nocodb
image: nocodb/nocodb:0.11.33
image: nocodb/nocodb:latest
restart: always
networks:
- traefik_proxy

2
packages/nc-cli/src/lib/mgr/DockerMgr.ts

@ -26,7 +26,7 @@ class DockerMgr extends NewMgr {
}
private static getDockerfileContent(args) {
return `FROM nocodb/nocodb:0.11.33
return `FROM nocodb/nocodb:latest
ENV PORT 8080
ENV NODE_ENV=dev

4
packages/nc-cli/src/lib/mgr/NewMgr.ts

@ -256,14 +256,14 @@ class NewMgr {
const linuxHost = os.type() === 'Linux' ? '--net=host' : '';
if (os.type() === 'Windows_NT') {
// tslint:disable-next-line:ban-comma-operator
console.log(boxen(`# Please run the following docker commands\n\n${(`docker run -p 8080:8080 ${linuxHost} -d ${env} nocodb/nocodb:0.11.33`).green.bold}\n`, {
console.log(boxen(`# Please run the following docker commands\n\n${(`docker run -p 8080:8080 ${linuxHost} -d ${env} nocodb/nocodb:latest`).green.bold}\n`, {
borderColor: 'green',
borderStyle: 'round',
margin: 1,
padding: 1
} as any));
} else {
await Util.runCmd(`docker run -p 8080:8080 ${linuxHost} -d ${env} nocodb/nocodb:0.11.33`);
await Util.runCmd(`docker run -p 8080:8080 ${linuxHost} -d ${env} nocodb/nocodb:latest`);
}
}
}

2
packages/noco-book/content/en/index.md

@ -49,7 +49,7 @@ link: https://codesandbox.io/embed/vigorous-firefly-80kq5?hidenavigation=1&theme
<code-block label="Docker" >
```bash
docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:0.11.33
docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest
```
</code-block>

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

@ -45,7 +45,7 @@ Simple installation - takes about three minutes!
<code-block label="Docker" >
```bash
docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:0.11.33
docker run -d --name nocodb -p 8080:8080 nocodb/nocodb:latest
```
</code-block>
@ -106,7 +106,7 @@ And connection params for this database can be specified in `NC_DB` environment
docker run -d -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" \
nocodb/nocodb:0.11.33
nocodb/nocodb:latest
```
</code-block>
@ -117,7 +117,7 @@ And connection params for this database can be specified in `NC_DB` environment
docker run -d -p 8080:8080 \
-e NC_DB="pg://host:port?u=user&p=password&d=database" \
-e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \
nocodb/nocodb:0.11.33
nocodb/nocodb:latest
```
</code-block>
@ -128,7 +128,7 @@ And connection params for this database can be specified in `NC_DB` environment
docker run -d -p 8080:8080 \
-e NC_DB="mssql://host:port?u=user&p=password&d=database" \
-e NC_AUTH_JWT_SECRET="569a1821-0a93-45e8-87ab-eb857f20a010" \
nocodb/nocodb:0.11.33
nocodb/nocodb:latest
```
</code-block>
@ -227,7 +227,7 @@ Here's the sample Task Definition
"networkMode": "awsvpc",
"containerDefinitions": [{
"name": "<YOUR_CONTAINER_NAME>",
"image": "nocodb/nocodb:0.11.33",
"image": "nocodb/nocodb:latest",
"essential": true,
"logConfiguration": {
"logDriver": "awslogs",

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

@ -29,7 +29,7 @@ docker rmi YOUR_IMAGE_ID
docker run -d -p 8080:8080 \
-e NC_DB="YOUR_NC_DB_URL" \
-e NC_AUTH_JWT_SECRET="YOUR_NC_AUTH_JWT_SECRET_IF_GIVEN" \
nocodb/nocodb:0.11.33
nocodb/nocodb:latest
```
Updating nocodb docker container is similar to updating [any other docker container](https://www.whitesourcesoftware.com/free-developer-tools/blog/update-docker-images/).
@ -61,8 +61,8 @@ Use Heroku CLI login
```
heroku container:login
docker pull nocodb/nocodb:0.11.33
docker tag nocodb/nocodb:0.11.33 registry.heroku.com/<Heroku App Name>/web
docker pull nocodb/nocodb:latest
docker tag nocodb/nocodb:latest registry.heroku.com/<Heroku App Name>/web
docker push registry.heroku.com/<Heroku App Name>/web
heroku container:release -a <Heroku App Name> web
```

2
packages/noco-docs/content/en/setup-and-usages/dashboard.md

@ -29,7 +29,7 @@ If you are using Docker, it is recommended to mount ``/usr/app/data/`` for persi
Example:
```
docker run -d -p 8080:8080 --name foo -v /local/path:/usr/app/data/ nocodb/nocodb:0.11.33
docker run -d -p 8080:8080 --name foo -v /local/path:/usr/app/data/ nocodb/nocodb:latest
```
## Initialize your first project

Loading…
Cancel
Save