1 Star 1 Fork 0

luck/luck-yungui-dingtalk-xunjian

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
luck 提交于 2025-01-08 16:04 . 增加百度快照
FROM python:3.9.2
WORKDIR /luck-yungui-dingtalk-xunjian
COPY . /luck-yungui-dingtalk-xunjian
RUN pip3 install -r /luck-yungui-dingtalk-check/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --target=/usr/local/lib/python3.9/site-packages --upgrade
RUN Restart=always
# 设置容器端口号
EXPOSE 5007
# 设置环境变量
ENV SERVER_PORT 5007
ENV BASIC_AUTH1 "admin"
ENV BASIC_AUTH2 "luckserver"
ENV LOG_APP_KEY "KEY_234470c6-8abf-44dc-9f60-a9eabce04141"
ENV LOG_APP_SECRET "SECRET_6e4428ae-5fe0-468a-8028-296582bc3fc2"
ENV LOG_URL "http://10.10.10.166:32535"
ENV LOG_URL_BASIC_AUTH1 "admin"
ENV LOG_URL_BASIC_AUTH2 "luckserver"
ENV AGENT_ID 804578772
ENV APP_KEY "dingkwmfrbsv0cencgb9"
ENV APP_SECRET "_OVByoifueYAH0X6mAQjleWfgFhB0cfZ3v4MNgAHrfjYG-a_u4ULXbN9ujdpoVOe"
ENV DINGTALK_APP_KEY "KEY_234470c6-8abf-44dc-9f60-a9eabce04141"
ENV DINGTALK_APP_SECRET "SECRET_6e4428ae-5fe0-468a-8028-296582bc3fc2"
ENV DINGTALK_URL "http://10.10.10.166:32535"
ENV DINGTALK_URL_BASIC_AUTH1 "admin"
ENV DINGTALK_URL_BASIC_AUTH2 "luckserver"
ENV DINGTALK_ROBOT_SECRET_1 "SEC108c2176b230090e8bede00717d04e8455aabb0fe5a747eddb42b17a1d385416"
ENV DINGTALK_ROBOT_ACCESS_TOKEN_1 "7144ea46a2a09b877935eda8171c1e872e7ee0990fbf45b2e18d9927a3442ade"
ENV DINGTALK_ROBOT_SECRET_2 ""
ENV DINGTALK_ROBOT_ACCESS_TOKEN_2 ""
ENV DINGTALK_ROBOT_SECRET_3 ""
ENV DINGTALK_ROBOT_ACCESS_TOKEN_3 ""
ENV DINGTALK_USER_JOB_NUMBER ""
ENV DETECT_URL "http://127.0.0.1:5009"
ENV TZ "Asia/Shanghai"
# 启动服务
CMD ["python3", "/luck-yungui-dingtalk-xunjian/start.py"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/lwhou/luck-yungui-dingtalk-xunjian.git
[email protected]:lwhou/luck-yungui-dingtalk-xunjian.git
lwhou
luck-yungui-dingtalk-xunjian
luck-yungui-dingtalk-xunjian
develop

搜索帮助