Commit fd5b4382 authored by Jie Yuan's avatar Jie Yuan
Browse files

add configuration in backend for production

parent a8bd6f6d
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment