Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

doc: add docker-compose and default user to the installation document.

LinkinStar63152dc9ffff
diff --git a/INSTALL.md b/INSTALL.md
index 8e45b8f1..c8140004 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -10,6 +10,17 @@ You can then install Answer in several ways:
- binary installation
- Source installation
+## Docker-compose for Answer
+```bash
+$ mkdir answer && cd answer
+$ wget https://raw.githubusercontent.com/answerdev/answer/main/docker-compose.yaml
+$ docker-compose up
+```
+
+browser open URL [http://127.0.0.1:9080/](http://127.0.0.1:9080/).
+
+You can log in with the default administrator username( **`[email protected]`** ) and password( **`admin`** ).
+
## Docker for Answer
Visit Docker Hub or GitHub Container registry to see all available images and tags.
diff --git a/INSTALL_CN.md b/INSTALL_CN.md
index 19a96d3d..07edce27 100644
--- a/INSTALL_CN.md
+++ b/INSTALL_CN.md
@@ -10,6 +10,17 @@
- 二进制安装
- 源码安装
+## 使用 Docker-compose 安装 Answer
+```bash
+$ mkdir answer && cd answer
+$ wget https://raw.githubusercontent.com/answerdev/answer/main/docker-compose.yaml
+$ docker-compose up
+```
+
+启动完成后使用浏览器访问 [http://127.0.0.1:9080/](http://127.0.0.1:9080/).
+
+你可以使用默认的用户名:( **`[email protected]`** ) 和密码:( **`admin`** ) 进行登录.
+
## 使用Docker 安装 Answer
可以从 Docker Hub 或者 GitHub Container registry 下载最新的tags 镜像