Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jie Yuan
svmon-app
Commits
fd5b4382
Commit
fd5b4382
authored
Mar 25, 2019
by
Jie Yuan
Browse files
add configuration in backend for production
parent
a8bd6f6d
Changes
1
Show whitespace changes
Inline
Side-by-side
svmon-spring-jwt/src/main/resources/application.properties
View file @
fd5b4382
...
...
@@ -15,11 +15,13 @@ app.jwtSecret= JWTSuperSecretKey
app.jwtExpirationInMs
=
604800000
#
spring.jpa.hibernate.ddl-auto=create
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.hibernate.ddl-auto
=
create
#
spring.jpa.hibernate.ddl-auto=none
#spring.jpa.hibernate.ddl-auto=create-drop
#spring.datasource.url=jdbc:mysql://localhost:3306/svmontest
spring.datasource.url
=
jdbc:mysql://mysql2g.scc.kit.edu:3306/ez9857_svmontest
spring.datasource.url
=
jdbc:mysql://mysql2g.scc.kit.edu:3306/ez9857_devtest1
# using this for production
#spring.datasource.url=jdbc:mysql://mysql2g.scc.kit.edu:3306/ez9857_svmontest
#spring.datasource.url=jdbc:mysql://svmon-dev.scc.kit.edu:3306/svmon
# TODO - Change the privileges to only let make select, insert, delete and update and not schema
spring.datasource.username
=
ez9857
...
...
@@ -54,10 +56,16 @@ logging.file =${user.dir}/logs/svmon.log
server.port
=
8443
# The alias mapped to the certificate
server.ssl.key-alias
=
1
# production
#server.ssl.key-alias=shared
# The password used to generate the certificate
server.ssl.key-password
=
changeit
# production
server.ssl.key-password
=
123456
# The path to the keystore containing the certificate
server.ssl.key-store
=
tomcat.keystore
# production
#server.ssl.key-store=store.keys
server.ssl.key-store-provider
=
SUN
# The format used for the keystore
server.ssl.key-store-type
=
JKS
...
...
@@ -71,5 +79,5 @@ security.sessions=NEVER
certificateGOCDB.name
=
svmonKeystore.p12
# The password used to generate the certificate
certificateGOCDB.password
=
12345
certificateGOCDB.trustStorePath
=
/home/
svmon
/svmon-app/svmon-keys/cacerts
certificateGOCDB.trustStorePath
=
/home/
yuan/develop
/svmon-app/svmon-keys/cacerts
#certificateGOCDB.trustStorePath=C:\\Program Files\\Java\\jre1.8.0_161/lib/security/cacerts
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment