Browse Source

docs : upgrade with details

Signed-off-by: Naveen MR <oof1lab@gmail.com>
pull/559/head
Naveen MR 3 years ago
parent
commit
df34f7f855
  1. 30
      packages/noco-docs/content/en/getting-started/upgrading.md

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

@ -8,17 +8,33 @@ link: https://codesandbox.io/embed/vigorous-firefly-80kq5?hidenavigation=1&theme
---
## Docker
Updating nocodb docker container is similar to updating [any other docker container](https://www.whitesourcesoftware.com/free-developer-tools/blog/update-docker-images/).
### Find, stop & delete nocodb docker container
```
docker ps
docker stop YOUR_CONTAINER_ID"
docker rm YOUR_CONTAINER_ID"
```
Usually this involves the following
- Find the nocodb image
- Stop the nocodb docker container
- Remove the nocodb docker container
- Pull & Run the latest nocodb docker container
### Find & remove nocodb docker image
```
docker images
_*Please ensure you run latest docker container with same environment variables as before.*_
docker rmi YOUR_IMAGE_ID
```
### Pull the latest nocodb image with same environment variables
```
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
```
Updating nocodb docker container is similar to updating [any other docker container](https://www.whitesourcesoftware.com/free-developer-tools/blog/update-docker-images/).
### Example docker upgrade

Loading…
Cancel
Save