balderdashy/sails

App Engine Deployment with Cloud SQL

Open

#7,004 opened on Jun 3, 2020

View on GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (1,953 forks)batch import
help wantedormpostgresqltry this out please

Repository metrics

Stars
 (22,778 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide