diff --git a/README.md b/README.md index 7e9856cfe..c3e36a504 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/dubbo-admin-server/pom.xml b/dubbo-admin-server/pom.xml index 7e797bf07..5dfda3485 100644 --- a/dubbo-admin-server/pom.xml +++ b/dubbo-admin-server/pom.xml @@ -232,7 +232,7 @@ ch.qos.logback logback-core - 1.2.3 + 1.2.8