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
在GAE的配置文件app.yaml中无法通过env_variables设置PORT为非8080端口
GAE
app.yaml
env_variables
PORT
访问GAE应用的日志:
通过日志输出看到,尽管程序是运行起来了,但是在浏览器访问路由/时,一直处于pending状态
/
pending
You can define additional environment variables in your app.yaml file, but the above values cannot be overridden.
根据官方文档描述,不能修改PORT端口为非8080端口,PORT环境变量不能被非8080的其他值重写。
部署时正确配置应该如下,或者省略PORT,PORT默认为8080
runtime: nodejs8 service: standard-env-work-with-webpack-success env_variables: NODE_ENV: production PORT: 8080
参考:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在
GAE
的配置文件app.yaml
中无法通过env_variables
设置PORT
为非8080端口访问
GAE
应用的日志:通过日志输出看到,尽管程序是运行起来了,但是在浏览器访问路由
/
时,一直处于pending
状态根据官方文档描述,不能修改
PORT
端口为非8080端口,PORT
环境变量不能被非8080的其他值重写。部署时正确配置应该如下,或者省略
PORT
,PORT
默认为8080参考:
The text was updated successfully, but these errors were encountered: