Skip to content

Commit

Permalink
Merge branch 'apache:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycody authored Nov 28, 2023
2 parents 98e6a7f + fdd3a6e commit d81fdc7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,27 @@ Choose either method based on your environment, where Helm is the recommended in
5. Visit `http://localhost:38080`, default username and password are `root`

## 1.2 Run with Docker
Admin image is hosted at: https://hub.docker.com/repository/docker/apache/dubbo-admin

> **Note: This method only supports running under linux system. Docker support for windows and mac systems will be released soon!**
Dubbo-Admin image is hosted at: https://hub.docker.com/repository/docker/apache/dubbo-admin.

You can run the image directly by mounting a volume from the host that contains an `application.properties` file with the accessible registry and config-center addresses specified.

```sh
$ docker run --net=host -it --rm -v /the/host/path/containing/properties:/config -p 8080:8080 apache/dubbo-admin
```shell
$ docker run -itd --net=host --name dubbo-admin -v /dubbo/dubbo-admin/properties:/config apache/dubbo-admin
```

> Replace `/the/host/path/containing/properties` with the actual host path (must be an absolute path) that points to a directory containing `application.properties`.
> Replace `/dubbo/dubbo-admin/properties` with the actual host path (must be an absolute path) that points to a directory containing `application.properties`.
The `application.properties` configuration file is as follows (taking the `zookeeper` registration center as an example):

```properties
admin.registry.address=zookeeper://127.0.0.1:2181
admin.config-center=zookeeper://127.0.0.1:2181
```

Open web browser and visit `http://localhost:8080`, default username and password are `root`
Open web browser and visit `http://localhost:38080`, default username and password are `root`.

## 1.3 Run with Kubernetes

Expand Down
2 changes: 1 addition & 1 deletion dubbo-admin-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.2.3</version>
<version>1.2.8</version>
</dependency>
</dependencies>

Expand Down

0 comments on commit d81fdc7

Please sign in to comment.