summaryrefslogtreecommitdiff
path: root/spring-boot/03-bank-jdbc-rest/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'spring-boot/03-bank-jdbc-rest/src/main/resources')
-rw-r--r--spring-boot/03-bank-jdbc-rest/src/main/resources/application.properties14
-rw-r--r--spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-default.properties0
-rw-r--r--spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-dev.properties0
-rw-r--r--spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-production.properties0
4 files changed, 14 insertions, 0 deletions
diff --git a/spring-boot/03-bank-jdbc-rest/src/main/resources/application.properties b/spring-boot/03-bank-jdbc-rest/src/main/resources/application.properties
new file mode 100644
index 0000000..a46ad0c
--- /dev/null
+++ b/spring-boot/03-bank-jdbc-rest/src/main/resources/application.properties
@@ -0,0 +1,14 @@
+# Possible locations of this file:
+# (Properties defined in locations higher in the list override those defined in lower locations)
+#
+# A /config subdirectory of the current directory
+# The current directory
+# A classpath /config package
+# The classpath root
+#
+
+spring.profiles.active=dev
+
+spring.datasource.url=jdbc:mariadb://localhost:3306/bankdb
+spring.datasource.username=bankdbuser
+spring.datasource.password=abc123
diff --git a/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-default.properties b/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-default.properties
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-default.properties
diff --git a/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-dev.properties b/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-dev.properties
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-dev.properties
diff --git a/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-production.properties b/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-production.properties
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/spring-boot/03-bank-jdbc-rest/src/main/resources/config/application-production.properties