Skip to content

Commit 2f13757

Browse files
committed
3.0 版本,非兼容性更新
1 parent 056a080 commit 2f13757

File tree

110 files changed

+3634
-8973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+3634
-8973
lines changed

CHANGELOG.MD

+10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
## 更新记录
2+
- 2018-10-12 v3.0.0 非兼容性更新
3+
- 搜索方式切换成API,支持添加多GitHub用户,API配额可视化
4+
- 配置可视化,去除配置文件
5+
- crontab 切换成轻量级的任务队列 Huey ,任务周期可自定义
6+
- 支持 Docker 部署
7+
- 支持批量忽略
8+
- 爬虫任务状态、结果记录展示
9+
- 优化解析受影响资产
10+
- 重构邮件 告警,添加钉钉告警
11+
212
- 2018-04-19 v2.0.0
313
- 添加Basic 认证, 必须按照新的 `config.ini.example` 重新进行相关配置
414
- 用户体验优化,支持多种过滤方式

Dockerfile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM python:3.7
2+
LABEL MAINTAINER=0xbug
3+
ENV TZ=Asia/Shanghai
4+
EXPOSE 80
5+
COPY ./deploy/apt/sources.list /etc/apt/sources.list
6+
RUN apt-get update
7+
RUN apt-get install -y wget gnupg curl redis-server
8+
RUN curl https://openresty.org/package/pubkey.gpg | apt-key add -
9+
RUN apt-get -y install software-properties-common
10+
RUN add-apt-repository -y "deb http://openresty.org/package/debian $(lsb_release -sc) openresty"
11+
RUN apt-get update
12+
RUN apt-get install -y openresty supervisor git
13+
RUN mkdir -p /root/.pip
14+
ADD ./deploy /Hawkeye/deploy
15+
RUN cp /Hawkeye/deploy/pyenv/*.conf /root/.pip/
16+
RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r /Hawkeye/deploy/pyenv/requirements.txt -U
17+
RUN cp /Hawkeye/deploy/nginx/*.conf /usr/local/openresty/nginx/conf/
18+
RUN cp /Hawkeye/deploy/supervisor/*.conf /etc/supervisor/conf.d/
19+
ADD ./client/dist /Hawkeye/client/dist
20+
ADD ./server /Hawkeye/server
21+
WORKDIR /Hawkeye/server
22+
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]

Hawkeye.py

-347
This file was deleted.

0 commit comments

Comments
 (0)