Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
616f782155
commit
c70cac58b2
@ -16,6 +16,24 @@
|
|||||||
<!-- FIXME change it to the project's website -->
|
<!-- FIXME change it to the project's website -->
|
||||||
<url>http://www.example.com</url>
|
<url>http://www.example.com</url>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>dev</id>
|
||||||
|
<properties>
|
||||||
|
<activatedProperties>dev</activatedProperties>
|
||||||
|
</properties>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>prod</id>
|
||||||
|
<properties>
|
||||||
|
<activatedProperties>prod</activatedProperties>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>14</maven.compiler.source>
|
<maven.compiler.source>14</maven.compiler.source>
|
||||||
|
13
restservice/src/main/resources/application-dev.properties
Normal file
13
restservice/src/main/resources/application-dev.properties
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
|
||||||
|
spring.datasource.url=jdbc:mysql://localhost:3306/test?useUnicode=yes&characterEncoding=UTF-8
|
||||||
|
spring.datasource.username=root
|
||||||
|
spring.datasource.password=example
|
||||||
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
|
spring.jpa.open-in-view=true
|
||||||
|
spring.jpa.hibernate.ddl-auto=create-drop
|
||||||
|
spring.jackson.serialization.fail-on-empty-beans=false
|
||||||
|
spring.main.allow-bean-definition-overriding=true
|
||||||
|
spring.jackson.default-property-inclusion = NON_NULL
|
||||||
|
server.port=1285
|
||||||
|
plannaplan.dev = true
|
||||||
|
plannaplan.frontendUrl = http://localhost:3000
|
20
restservice/src/main/resources/application-prod.properties
Normal file
20
restservice/src/main/resources/application-prod.properties
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
|
||||||
|
spring.datasource.url=jdbc:mysql://localhost:3306/test?useUnicode=yes&characterEncoding=UTF-8
|
||||||
|
spring.datasource.username=root
|
||||||
|
spring.datasource.password=example
|
||||||
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
|
spring.jpa.open-in-view=true
|
||||||
|
spring.jpa.hibernate.ddl-auto=create-drop
|
||||||
|
spring.jackson.serialization.fail-on-empty-beans=false
|
||||||
|
spring.main.allow-bean-definition-overriding=true
|
||||||
|
spring.jackson.default-property-inclusion = NON_NULL
|
||||||
|
|
||||||
|
server.port=1285
|
||||||
|
|
||||||
|
plannaplan.dev = false
|
||||||
|
plannaplan.frontendUrl = https://wmi.plannaplan.pl
|
||||||
|
security.require-ssl=true
|
||||||
|
server.ssl.key-store=/keys/keystore.p12
|
||||||
|
server.ssl.key-store-password=
|
||||||
|
server.ssl.keyStoreType=PKCS12
|
||||||
|
server.ssl.keyAlias=tomcat
|
@ -1,15 +1 @@
|
|||||||
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
|
spring.profiles.active=dev
|
||||||
spring.datasource.url=jdbc:mysql://localhost:3306/test?useUnicode=yes&characterEncoding=UTF-8
|
|
||||||
spring.datasource.username=root
|
|
||||||
spring.datasource.password=example
|
|
||||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
||||||
spring.jpa.open-in-view=true
|
|
||||||
spring.jpa.hibernate.ddl-auto=create-drop
|
|
||||||
spring.jackson.serialization.fail-on-empty-beans=false
|
|
||||||
spring.main.allow-bean-definition-overriding=true
|
|
||||||
spring.jackson.default-property-inclusion = NON_NULL
|
|
||||||
|
|
||||||
server.port=1285
|
|
||||||
|
|
||||||
plannaplan.dev = true
|
|
||||||
plannaplan.frontendUrl = http://localhost:3000
|
|
Loading…
Reference in New Issue
Block a user