Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生产环境中的软件更新方法 #1

Open
jonahfang opened this issue Apr 3, 2017 · 0 comments
Open

生产环境中的软件更新方法 #1

jonahfang opened this issue Apr 3, 2017 · 0 comments

Comments

@jonahfang
Copy link

我现在使用Python/django编程,生产环境中使用Docker部署,在需要软件更新时的做法如下:

  1. 用git pull更新源代码(用docker volume方式映射了项目源码).
    2.用类似docker exec yzapi sh -c "touch /opt/django/reload"这样的命令让程序重新启动。

请教:用本项目提供的docker镜像,能否做到上述这样的软件更新?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant