Google App Engine灵活环境中的多种服务 [英] Multiple Services with Google App Engine Flexible Environments

查看:49
本文介绍了Google App Engine灵活环境中的多种服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用普通的应用程序引擎,您可以通过创建app.yaml版本来定义服务(以前称为模块).似乎在Flexible Environments中您不能再这样做了,它实际上在使用旧模块:name语法时崩溃,并使用术语service:name抛出错误.

With normal app engine, you can define Services (previously called modules) by creating versions of app.yaml. It seems with Flexible Environments you can't do that anymore, that it in fact crashes when using the old module: name syntax and throws errors with the term service: name.

有什么想法如何在同一个项目中使用灵活环境"运行多种类型的流程?

Any ideas how to run multiple types of processes with Flexible Environment in the same project?

干杯!

推荐答案

我正在使用此app.yaml,对我来说效果很好:

I'm using this app.yaml and it's working fine for me:

runtime: custom
env: flex

service: hello-world

这篇关于Google App Engine灵活环境中的多种服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆