Boa tarde, estou tentando realizar o deploy da aplicação no heroku com o database criado no heroku, mas não esta dando certo.
application-prod.properties
spring.jpa.database=${DATABASE}
spring.datasource.platform=postgres
spring.datasource.url=${DATABASE_URL}
spring.datasource.username=${DATABASE_USERNAME}
spring.datasource.password=${DATABASE_PASSWORD}
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.generate-ddl=true
#====================
# == FLYWAY CONFIG ==
spring.flyway.url=${DATABASE_URL}
spring.flyway.schemas=checkup
spring.flyway.user=${DATABASE_USERNAME}
spring.flyway.password=${DATABASE_PASSWORD}
#====================
mas no log via terminal aparece assim.
Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2020-11-06T18:06:52.001177+00:00 app[web.1]: at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:285) ~[postgresql-42.2.14.jar!/:42.2.14]
e no log via web, aparece assim
Step 5/6 : COPY ${JAR_FILE} app.jar
COPY failed: no source files were specified
alguem consegue me ajudar???