You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
#使用Docker快速启动
|
|
|
|
## 安装docker
|
|
|
|
根据不同操作系统选择安装docker-ce或者Docker Desktop。
|
|
- [Mac](https://hub.docker.com/editions/community/docker-ce-desktop-mac)
|
|
- [Linux](https://hub.docker.com/search?q=&type=edition&offering=community&sort=updated_at&order=desc&operating_system=linux)
|
|
- [Windows](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
|
|
|
|
|
|
## 获取源代码
|
|
jetlinks源代码托管在[GitHub](https://github.com/jetlinks/jetlinks-community)和[gitee](https://gitee.com/jetlinks/jetlinks-community),可直接前往克隆或者下载。
|
|
|
|
建议使用git clone。
|
|
```bash
|
|
|
|
$ git clone https://github.com/jetlinks/jetlinks-community.git && cd jetlinks-community
|
|
|
|
```
|
|
|
|
## 启动
|
|
[获取源代码](#获取源代码)成功后,进入docker/run-all目录。
|
|
```bash
|
|
|
|
$ cd docker/run-all
|
|
$ docker-compose up
|
|
|
|
```
|
|
::: tip 注意:
|
|
docker-compose中的jetlinks、jetlinks-ui-antd镜像持续更新中,启动docker之前请及时下载更新。
|
|
:::
|
|
|
|
## 启动成功后访问系统
|
|
|
|
地址: `http://localhost:9000`, 用户名:`admin`,密码:`admin`。 |