Procházet zdrojové kódy

DEv uat and prod configurations

Andrew Grant před 6 měsíci
rodič
revize
30c50f5a44

+ 6 - 0
src/main/resources/application-dev.properties

@@ -0,0 +1,6 @@
+spring.h2.console.enabled=true
+spring.h2.console.path=/h2console/
+spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
+
+
+

+ 4 - 0
src/main/resources/application-prod.properties

@@ -0,0 +1,4 @@
+
+
+
+

+ 4 - 0
src/main/resources/application-uat.properties

@@ -0,0 +1,4 @@
+
+
+
+

+ 4 - 4
src/main/resources/application.properties

@@ -1,9 +1,9 @@
 spring.application.name=grants
 server.port=8086
 server.servlet.context-path=/grants
-spring.h2.console.enabled=true
-spring.h2.console.path=/h2console/
-spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
-logging.level.scot.carricksoftware=debug
 spring.mvc.format.date=dd-MM-yyyy
+spring.profiles.active=dev
+logging.level.scot.carricksoftware=debug
+
+