balderdashy/sails

App Engine Deployment with Cloud SQL

Open

#7,004 创建于 2020年6月3日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)JavaScript (22,778 star) (1,953 fork)batch import
help wantedormpostgresqltry this out please

描述

Node version: 12.16.0 Sails version (sails): 1.2.4 ORM hook version (sails-hook-orm): 2.1.1 Sockets hook version (sails-hook-sockets): 2.0.0 Grunt hook version (sails-hook-grunt): 4.0.0 DB adapter & version (e.g. sails-mysql@5.55.5): sails-postgresql@1.0.2

I was able to deploy with GCP app engine in flex environment. But I am anot able to access my cloudsql postgres resource. As app engine supports different notation [/cloudsql/INSTANCE_CONNECTION_NAME] to represent resources in app engine. https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible. If I am using that notation, in application logs. it defaults to localhost for db

贡献者指南