We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.在进行build的过程中报错提示没有gunicorn 以及后续起服务的过程中提示xadmin错误 需要在Dockerfile中添加: && pip install gunicorn==19.9.0 && pip uninstall xadmin && pip install xadmin==0.6.1 \
2.在docker环境中部署得时候, 运行docker-compose exec kele_imooc /usr/local/bin/python manage.py makemigrations报错: 根据错误提示是找不到host:mysql 根据查询发现在docker-compose.yml文件中得mysql的host名是:kele_mysql 而在settings.py的配置中database的host是:mysql 所有修改settings.py的配置中database的host为:kele_mysql 解决
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1.在进行build的过程中报错提示没有gunicorn 以及后续起服务的过程中提示xadmin错误
需要在Dockerfile中添加:
&& pip install gunicorn==19.9.0
&& pip uninstall xadmin
&& pip install xadmin==0.6.1 \
2.在docker环境中部署得时候,
运行docker-compose exec kele_imooc /usr/local/bin/python manage.py makemigrations报错:
根据错误提示是找不到host:mysql
根据查询发现在docker-compose.yml文件中得mysql的host名是:kele_mysql
而在settings.py的配置中database的host是:mysql
所有修改settings.py的配置中database的host为:kele_mysql 解决
The text was updated successfully, but these errors were encountered: