Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spring.datasource.url=jdbc:postgresql://google/postgres?cloudSqlInstance=<instance-name>&socketFactory=com.google.cloud.sql.postgres.SocketFactory
- spring.datasource.username=postgres
- spring.datasource.password=postgres
- spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
- spring.jpa.hibernate.ddl-auto=update
- <dependency>
- <groupId>com.google.cloud.sql</groupId>
- <artifactId>postgres-socket-factory</artifactId>
- <version>1.0.12</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-gcp-starter-sql-postgresql</artifactId>
- <version>1.1.0.RELEASE</version>
- </dependency>
- runtime: java
- env: flex
- service: payment2
- handlers:
- - url: /.*
- script: this field is required, but ignored
- beta_settings:
- cloud_sql_instances: <instance-name>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement