From 21e7fe35ae93f084ab5ac7de42b863b10df9e1d2 Mon Sep 17 00:00:00 2001 From: Brutus5000 Date: Thu, 16 Dec 2021 22:38:27 +0100 Subject: [PATCH] Add default faf datasource config --- src/main/resources/config/application.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/config/application.yml b/src/main/resources/config/application.yml index aeab8f38b..3ce9b69c2 100644 --- a/src/main/resources/config/application.yml +++ b/src/main/resources/config/application.yml @@ -88,6 +88,10 @@ spring: application: name: FAF Java API datasource: + url: jdbc:mariadb://${DATABASE_ADDRESS}/${DATABASE_NAME:faf}?useSSL=false + name: faf + username: ${DATABASE_USERNAME} + password: ${DATABASE_PASSWORD} configuration: connection-test-query: SELECT 1 FROM DUAL minimum-idle: 2