This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully externalized properties. Profiles removed. Dom4j updated to 2.1.1
- Loading branch information
1 parent
787a751
commit c00e2cb
Showing
5 changed files
with
107 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#==================================================================================================== | ||
# | ||
# Application Configuration Properties for Profile dev-local. | ||
# | ||
#==================================================================================================== | ||
|
||
|
||
# Internet. | ||
internet.url = http://myserver:8080/ | ||
|
||
# Server. | ||
server.port = 8443 | ||
server.server-header = GuardedBox | ||
|
||
# Server SSL. | ||
server.ssl.key-store = ./config/myserver.p12 | ||
server.ssl.key-alias = myserver | ||
server.ssl.key-store-type = PKCS12 | ||
server.ssl.enabled-protocols = TLSv1.2 | ||
server.ssl.ciphers = TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CCM,TLS_ECDHE_ECDSA_WITH_AES_256_CCM,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | ||
|
||
# Server Session. | ||
server.session.timeout = 1800 | ||
server.session.cookie.name = SESSION-ID | ||
server.session.cookie.secure = true | ||
|
||
# Spring. | ||
spring.mvc.favicon.enabled = false | ||
|
||
# Spring DataSource. | ||
spring.datasource.url = jdbc:mysql://127.0.0.1:3306/guardedbox?autoReconnect=true&useSSL=false&characterEncoding=UTF-8 | ||
spring.datasource.username = guardedbox | ||
spring.jpa.show-sql = false | ||
|
||
# Spring Email. | ||
spring.mail.host = smtp.gmail.com | ||
spring.mail.port = 587 | ||
spring.mail.username = accounts@guardedbox.com | ||
spring.mail.properties.mail.smtp.auth = true | ||
spring.mail.properties.mail.smtp.starttls.enable = true | ||
spring.mail.properties.mail.smtp.starttls.required = true | ||
|
||
# Logging. | ||
logging.level = INFO | ||
logging.pattern = %date{dd/MM/yyyy HH:mm:ss} | %-5level | %class{0}.%method.%line | %message%n | ||
|
||
# Captcha. | ||
captcha.verification-url = https://www.google.com/recaptcha/api/siteverify?secret=%s&response=%s&remoteip=%s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#==================================================================================================== | ||
# | ||
# Application Configuration Properties for Profile guardedbox.com. | ||
# | ||
#==================================================================================================== | ||
|
||
|
||
# Internet. | ||
internet.url = https://guardedbox.com/ | ||
|
||
# Server. | ||
server.port = 8443 | ||
server.server-header = GuardedBox | ||
|
||
# Server SSL. | ||
server.ssl.key-store = /etc/cert/guardedbox.p12 | ||
server.ssl.key-alias = guardedbox | ||
server.ssl.key-store-type = PKCS12 | ||
server.ssl.enabled-protocols = TLSv1.2 | ||
server.ssl.ciphers = TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CCM,TLS_ECDHE_ECDSA_WITH_AES_256_CCM,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | ||
|
||
# Server Session. | ||
server.session.timeout = 1800 | ||
server.session.cookie.name = SESSION-ID | ||
server.session.cookie.secure = false | ||
|
||
# Spring. | ||
spring.mvc.favicon.enabled = false | ||
|
||
# Spring DataSource. | ||
spring.datasource.url = jdbc:mysql://127.0.0.1:3306/guardedbox?autoReconnect=true&useSSL=false&characterEncoding=UTF-8 | ||
spring.datasource.username = guardedbox | ||
spring.jpa.show-sql = false | ||
|
||
# Spring Email. | ||
spring.mail.host = smtp.gmail.com | ||
spring.mail.port = 587 | ||
spring.mail.username = accounts@guardedbox.com | ||
spring.mail.properties.mail.smtp.auth = true | ||
spring.mail.properties.mail.smtp.starttls.enable = true | ||
spring.mail.properties.mail.smtp.starttls.required = true | ||
|
||
# Logging. | ||
logging.level = INFO | ||
logging.pattern = %date{dd/MM/yyyy HH:mm:ss} | %-5level | %class{0}.%method.%line | %message%n | ||
|
||
# Captcha. | ||
captcha.verification-url = https://www.google.com/recaptcha/api/siteverify?secret=%s&response=%s&remoteip=%s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.