Skip to content

Instantly share code, notes, and snippets.

@marcosbarker
Last active July 29, 2021 17:24
Show Gist options
  • Save marcosbarker/8d595a918e11e10b29b57daeed26ca04 to your computer and use it in GitHub Desktop.
Save marcosbarker/8d595a918e11e10b29b57daeed26ca04 to your computer and use it in GitHub Desktop.
HEROKU DB API (Spring Boot): Modelo de 'application.properties' preenchidos com dados(ficticios) gerados pelo serviço 'heroku-postgresql'.
spring.datasource.url = jdbc:postgresql://ec4-48-6-217-68.compute-1.amazonaws.com:5432/l4oyeo8jphr
spring.datasource.username = jjtmqmhnwmiysh
spring.datasource.password = 00e9e757e862t83f57708fe775a6afppf8b532604bh6042a4f2me303096b005ow
spring.jpa.show-sql =true
spring.jpa.hibernate.ddl-auto = none
spring.jackson.deserialization.fail-on-unknown-properties = true
@marcosbarker
Copy link
Author

marcosbarker commented Jul 23, 2021

🤔 Onde ficam essas credenciais?

Ao criar o projeto no heroku e criar o 'data', ir em Settings >> View Credentials...

Esses são os mesmos dados utilizados no DBeaver para acessar e popular o banco localmente.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment