diff --git a/README.md b/README.md index f35cfd5..c3490ac 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,21 @@ This project contains a Docker image meant to facilitate the deployment of [Naco * Since Nacos 1.3.1 version, the database storage has been upgraded to 8.0, and it is backward compatible - - - ## Quick Start +```shell +docker run --name nacos-quick -e MODE=standalone -p 8849:8848 -d nacos/nacos-server:2.0-bugfix +``` + + +## Advanced Usage + +* Tips: You can change the version of the Nacos image in the compose file from the following configuration. +`example/.env` +```dotenv +NACOS_VERSION=2.0.0-bugfix +``` + Run the following command: * Clone project diff --git a/example/.env b/example/.env index 8ae5db4..1fb102f 100644 --- a/example/.env +++ b/example/.env @@ -1 +1 @@ -NACOS_VERSION=2.0.0 \ No newline at end of file +NACOS_VERSION=2.0.0-bugfix \ No newline at end of file