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

docker部署之后502 #1

Open
xiaohesong opened this issue Dec 19, 2018 · 0 comments
Open

docker部署之后502 #1

xiaohesong opened this issue Dec 19, 2018 · 0 comments

Comments

@xiaohesong
Copy link
Owner

这个被坑到了,部署之后网页显示502。

进入容器查看日志,没有错误没有输出。

然后本地build:

docker build --build-arg app_env=staging -t koa_bff_staging_build .
docker run koa_bff_staging_build

可以发现,我直接通过IP是访问不了的。然后google之后发现了解决方案

之后修改之后再部署,果然就可以了。

修改的位置在启动的config

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