Skip to content

Commit

Permalink
Added second instance to cloudsql FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
retpolanne authored and drgarcia1986 committed Oct 29, 2018
1 parent 050e7f3 commit cb1e6c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FAQ.md
Expand Up @@ -416,11 +416,11 @@ applications:
myapp:
sidecars:
cloudsql-proxy:
instances: project:zone:name=tcp:3306
instances: project:zone:name=tcp:3306,project2:zone2:name2=tcp:3307
credentialFile: credentials.json
```

You can either provide the instance connection name or provide the following variables to your application.
You can either provide the instance connection name or provide the following variables to your application. You can provide many connection names by passing a comma-separated list of instances.

$ teresa app env-set DB_PROJECT=<gcp-project> --app <app-name>
$ teresa app env-set DB_ZONE=<gcp-zone> --app <app-name>
Expand Down

0 comments on commit cb1e6c5

Please sign in to comment.