aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2025-02-12 15:58:52 -0600
committerWilliam Harrington <kb0iic@berzerkula.org>2025-02-12 15:58:52 -0600
commit37635002778afdc08c1f3f391bb2d56e0979f768 (patch)
tree80cd47338540c18aaa08e7d7565f952ebc765c0e
parentc82957893826f5c78a6563abea75cca9ffa24d42 (diff)
migrate from properties file to yaml.
-rw-r--r--src/main/resources/application.properties15
-rw-r--r--src/main/resources/application.yml24
2 files changed, 24 insertions, 15 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
deleted file mode 100644
index f6a7814..0000000
--- a/src/main/resources/application.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-spring.application.name=builddb
-
-spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-spring.datasource.url=jdbc:mysql://nucleus.berzerkula.org:3306/builddb_users
-spring.datasource.username=kb0iic
-spring.datasource.password=ENC(1xjvlowHDUgzAYCjEEaYcSQOQHL2SHo8)
-
-spring.jpa.show-sql=true
-spring.jpa.hibernate.ddl-auto=update
-
-jasypt.encryptor.algorithm=PBEWithMD5AndDES
-jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
-jasypt.encryptor.password=builddb
-
-management.endpoints.web.exposure.include=* \ No newline at end of file
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
new file mode 100644
index 0000000..bd6e0f8
--- /dev/null
+++ b/src/main/resources/application.yml
@@ -0,0 +1,24 @@
+spring:
+ application:
+ name: builddb
+ datasource:
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: jdbc:mysql://nucleus.berzerkula.org:3306/builddb_users
+ username: kb0iic
+ password: ENC(1xjvlowHDUgzAYCjEEaYcSQOQHL2SHo8)
+ jpa:
+ show-sql: true
+ hibernate:
+ ddl-auto: update
+
+jasypt:
+ encryptor:
+ algorithm: PBEWithMD5AndDES
+ iv-generator-classname: org.jasypt.iv.NoIvGenerator
+ password: builddb
+
+management:
+ endpoints:
+ web:
+ exposure:
+ include: "*" \ No newline at end of file