From f5e4649702149ebc250c4ff683a975b123d3df0e Mon Sep 17 00:00:00 2001 From: pader Date: Thu, 15 Apr 2021 10:23:46 +0800 Subject: [PATCH] Updated some explanation --- README.md | 16 +++++++++++++--- example/.env | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) 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