修改Docker

This commit is contained in:
xpnas 2021-03-25 23:17:56 +08:00
parent 35f06ba7a9
commit 61d32c7058
2 changed files with 10 additions and 31 deletions

View File

@ -11,24 +11,20 @@ a message notify center for weChat and telegram and email
类似Server酱 类似Server酱
## 一、使用方法 ## 一、使用方法
1. 下载docker-compose.yaml文件 1. Docker安装
2. 执行docker-compose up -d ```
``` docker run --name=inotify -d -p 8000:80 -v im_data:/im_data --restart=always xpnas/inotify:master
docker-compose up -d ```
```
3. 配置Nginx代理 2. 配置Nginx代理
``` ```
server server
{ {
location / { location / { proxy_pass http://127.0.0.1:8000; }
proxy_pass http://127.0.0.1:8000; }
}
location /api {
proxy_pass http://127.0.0.1:8001;
}
}
``` ```
4. 默认用户名admin密码123456
3. 默认用户名admin密码123456
## 二、系统截图 ## 二、系统截图

View File

@ -1,17 +0,0 @@
version: "3.6"
services:
inotify_vue:
image: xpnas/inotify:vue
ports:
- "8000:80"
restart: always
container_name: inotify_vue
inotify_service:
image: xpnas/inotify:service
volumes:
- ./m_data:/im_data"
ports:
- "8001:80"
restart: always
container_name: inotify_service