Skip to content

Commit

Permalink
Add notice
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Jan 30, 2024
1 parent cbc5a53 commit 89d9a01
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Choose either method based on your environment, where Helm is the recommended in
* `cd dubbo-admin-distribution/target; java -jar dubbo-admin-${project.version}.jar`
5. Visit `http://localhost:38080`, default username and password are `root`

> **Security Notice: Please remember to change the `admin.check.signSecret`, `admin.root.user.name` and `admin.root.user.password` before you deploy to production environment.**
## 1.2 Run with Docker

> **Note: This method only supports running under linux system. Docker support for windows and mac systems will be released soon!**
Expand All @@ -50,8 +52,13 @@ The `application.properties` configuration file is as follows (taking the `zooke
```properties
admin.registry.address=zookeeper://127.0.0.1:2181
admin.config-center=zookeeper://127.0.0.1:2181
admin.root.user.name=root
admin.root.user.password=root
admin.check.signSecret=86295dd0c4ef69a1036b0b0c15158d77
```

> **Security Notice: Please remember to change the `admin.check.signSecret`, `admin.root.user.name` and `admin.root.user.password` before you deploy to production environment.**
Open web browser and visit `http://localhost:38080`, default username and password are `root`.

## 1.3 Run with Kubernetes
Expand All @@ -70,6 +77,8 @@ $ cd dubbo-admin/kubernetes/dubbo-admin

Open `configmap.yaml` and modify accordingly to override configurations in [application.properties](./dubbo-admin-server/src/main/resources/application.properties).

> **Security Notice: Please remember to change the `admin.check.signSecret`, `admin.root.user.name` and `admin.root.user.password` before you deploy to production environment.**
Run the following command:

```sh
Expand Down Expand Up @@ -108,8 +117,13 @@ properties:
admin.registry.address: zookeeper://zookeeper:2181
admin.config-center: zookeeper://zookeeper:2181
admin.metadata-report.address: zookeeper://zookeeper:2181
admin.root.user.name: root
admin.root.user.password: root
admin.check.signSecret: 86295dd0c4ef69a1036b0b0c15158d77
```
> **Security Notice: Please remember to change the `admin.check.signSecret`, `admin.root.user.name` and `admin.root.user.password` before you deploy to production environment.**

```sh
$ helm install dubbo-admin -f values.yaml .
```
Expand Down
4 changes: 3 additions & 1 deletion charts/admin-stack/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
> **Security Notice: Please remember to change the `admin.check.signSecret`, `admin.root.user.name` and `admin.root.user.password` before you deploy to production environment.**
## 1. Project download to local
```
git clone https://github.com/apache/dubbo-admin.git
Expand All @@ -11,4 +13,4 @@ cd dubbo-admin/deploy/charts/dubbo-admin
## 3. Install dubbo-admin
```
helm install dubbo-admin -f values.yaml .
```
```

0 comments on commit 89d9a01

Please sign in to comment.