From 61d32c7058ce7eff8e4d231b46d39b6887779740 Mon Sep 17 00:00:00 2001 From: xpnas Date: Thu, 25 Mar 2021 23:17:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 24 ++++++++++-------------- docker-compose.yaml | 17 ----------------- 2 files changed, 10 insertions(+), 31 deletions(-) delete mode 100644 docker-compose.yaml diff --git a/README.md b/README.md index 550f27c..008e7ce 100644 --- a/README.md +++ b/README.md @@ -11,24 +11,20 @@ a message notify center for weChat and telegram and email 类似Server酱 ## 一、使用方法 - 1. 下载docker-compose.yaml文件 - 2. 执行docker-compose up -d - ``` - docker-compose up -d - ``` - 3. 配置Nginx代理 + 1. Docker安装 + ``` + docker run --name=inotify -d -p 8000:80 -v im_data:/im_data --restart=always xpnas/inotify:master + ``` + + 2. 配置Nginx代理 ``` server { - location / { - proxy_pass http://127.0.0.1:8000; - } - location /api { - proxy_pass http://127.0.0.1:8001; - } - } + location / { proxy_pass http://127.0.0.1:8000; } + } ``` - 4. 默认用户名admin,密码123456 + + 3. 默认用户名admin,密码123456 ## 二、系统截图 diff --git a/docker-compose.yaml b/docker-compose.yaml deleted file mode 100644 index 4ea2cf7..0000000 --- a/docker-compose.yaml +++ /dev/null @@ -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 -