fix : pull latest docker instead of 0.11.33.

This commit is contained in:
Naveen MR
2021-09-22 23:25:00 +01:00
parent e0b8fe2726
commit b33f37d94f
12 changed files with 22 additions and 22 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

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

View File

@@ -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

View File

@@ -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`);
}
}
}

View File

@@ -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>

View File

@@ -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",

View File

@@ -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
```

View File

@@ -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