Browse Source

fix: setting docker pulls to 0.11.33!

Signed-off-by: Naveen MR <oof1lab@gmail.com>
pull/559/head
Naveen MR 3 years ago
parent
commit
cef4dd1a3f
  1. 2
      docker-compose/letsencrypt/nc.sh
  2. 2
      docker-compose/mssql/docker-compose.yml
  3. 2
      docker-compose/mysql/docker-compose.yml
  4. 2
      docker-compose/pg/docker-compose.yml
  5. 2
      docker-compose/traefik/docker-compose.yml
  6. 2
      packages/nc-cli/src/lib/mgr/DockerMgr.ts
  7. 4
      packages/nc-cli/src/lib/mgr/NewMgr.ts
  8. 2
      packages/noco-docs/content/en/getting-started/installation.md
  9. 6
      packages/noco-docs/content/en/getting-started/upgrading.md

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:latest
--network=webproxy nocodb/nocodb:0.11.33

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

@ -20,7 +20,7 @@ services:
depends_on:
root_db:
condition: service_healthy
image: nocodb/nocodb:latest
image: nocodb/nocodb:0.11.33
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:latest
image: nocodb/nocodb:0.11.33
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:latest
image: nocodb/nocodb:0.11.33
ports:
- "8080:8080"
- "8081:8081"

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

@ -67,7 +67,7 @@ services:
nocodb:
container_name: nocodb
image: nocodb/nocodb:latest
image: nocodb/nocodb:0.11.33
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:latest
return `FROM nocodb/nocodb:0.11.33
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:latest`).green.bold}\n`, {
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`, {
borderColor: 'green',
borderStyle: 'round',
margin: 1,
padding: 1
} as any));
} else {
await Util.runCmd(`docker run -p 8080:8080 ${linuxHost} -d ${env} nocodb/nocodb:latest`);
await Util.runCmd(`docker run -p 8080:8080 ${linuxHost} -d ${env} nocodb/nocodb:0.11.33`);
}
}
}

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

@ -227,7 +227,7 @@ Here's the sample Task Definition
"networkMode": "awsvpc",
"containerDefinitions": [{
"name": "<YOUR_CONTAINER_NAME>",
"image": "nocodb/nocodb:latest",
"image": "nocodb/nocodb:0.11.33",
"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:latest
nocodb/nocodb:0.11.33
```
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:latest
docker tag nocodb/nocodb:latest registry.heroku.com/<Heroku App Name>/web
docker pull nocodb/nocodb:0.11.33
docker tag nocodb/nocodb:0.11.33 registry.heroku.com/<Heroku App Name>/web
docker push registry.heroku.com/<Heroku App Name>/web
heroku container:release -a <Heroku App Name> web
```

Loading…
Cancel
Save