From e409db15805cd91c1b1d31b9beac67780e003233 Mon Sep 17 00:00:00 2001 From: Vegard Smines Date: Mon, 4 Sep 2023 15:32:24 +0200 Subject: [PATCH] added heroku.yml --- dockerfile | 0 example-app/src/main/resources/application.properties | 2 +- heroku.yml | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 dockerfile create mode 100644 heroku.yml diff --git a/dockerfile b/dockerfile deleted file mode 100644 index e69de29b..00000000 diff --git a/example-app/src/main/resources/application.properties b/example-app/src/main/resources/application.properties index e70cfe88..65c9a43e 100644 --- a/example-app/src/main/resources/application.properties +++ b/example-app/src/main/resources/application.properties @@ -1,3 +1,3 @@ -server.port=8081 +server.port=${PORT:8081} spring.datasource.url=jdbc:h2:file:./db-scheduler-application/test-db;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE;DEFAULT_NULL_ORDERING=HIGH spring.datasource.driver-class-name=org.h2.Driver diff --git a/heroku.yml b/heroku.yml new file mode 100644 index 00000000..17ed7398 --- /dev/null +++ b/heroku.yml @@ -0,0 +1,3 @@ +build: + docker: + web: dockerfile \ No newline at end of file