-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ver1.2.0 完善功能;新增 docker 方式部署;尝试加入 celery 4.3.0 实现异步任务
- Loading branch information
root
committed
Aug 2, 2019
1 parent
6fde80d
commit 9424c2f
Showing
66 changed files
with
2,298 additions
and
363 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM python:3.7 | ||
ADD . /devops | ||
WORKDIR /devops | ||
RUN cd /devops && pip install -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt | ||
RUN cd /devops && echo_supervisord_conf > /etc/supervisord.conf && cat deamon.ini >> /etc/supervisord.conf && \ | ||
sed -i 's/nodaemon=false/nodaemon=true/g' /etc/supervisord.conf | ||
EXPOSE 8000 | ||
ENTRYPOINT ["supervisord", "-c", "/etc/supervisord.conf"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.