Skip to content

Commit

Permalink
📝 docs: 增加docker-compose启动 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
buyfakett authored Nov 28, 2023
1 parent b82fe27 commit 73a74bc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions doc/source/manual/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,25 @@ $ docker run \
mouday/domain-admin:latest
```

也可以用dokcer-compose来一键启动

可以使用`docker-compose up -d`来启动

当版本更新时,可以用`docker-compose pull`来拉取镜像,然后用`docker-compose up -d`来重启新镜像

```yaml
version: '3.3'
services:
domain-admin:
volumes:
- './database:/app/database'
- './logs:/app/logs'
ports:
- '8000:8000'
container_name: domain-admin
image: mouday/domain-admin:latest
```
## 方式三:下载源码安装
下载地址:[https://github.com/mouday/domain-admin/releases](https://github.com/mouday/domain-admin/releases)
Expand Down

0 comments on commit 73a74bc

Please sign in to comment.