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

This commit is contained in:
LinkinStar 2022-10-24 13:17:41 +08:00
parent 00dc0d5e14
commit 63152dc9ff
2 changed files with 22 additions and 0 deletions

View File

@ -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( **`admin@admin.com`** ) and password( **`admin`** ).
## Docker for Answer
Visit Docker Hub or GitHub Container registry to see all available images and tags.

View File

@ -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/).
你可以使用默认的用户名:( **`admin@admin.com`** ) 和密码:( **`admin`** ) 进行登录.
## 使用Docker 安装 Answer
可以从 Docker Hub 或者 GitHub Container registry 下载最新的tags 镜像