balderdashy/sails

App Engine Deployment with Cloud SQL

Aperta

#7004 aperta il 3 giu 2020

 (7 commenti) (0 reazioni) (0 assegnatari)JavaScript (1953 fork)batch import
help wantedormpostgresqltry this out please

Metriche repository

Star
 (22.778 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor