diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 439a3ea..3c9bfcc 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,7 +1,7 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.url=jdbc:mysql://localhost:3306/ppn?serverTimezone=UTC -spring.datasource.username=root -spring.datasource.password=123456789 +spring.datasource.url=${url-db} +spring.datasource.username=${username} +spring.datasource.password=${password-db} spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=false @@ -9,24 +9,24 @@ spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL55Dialect spring.jpa.properties.hibernate.globally_quoted_identifiers=true server.port=8080 #security -ppn.app.jwt.secret=nhoJ5zANFBc5OEqnHgnT/GLKB80ku521Ja64MKef -ppn.app.jwt.expiration=604800000 +ppn.app.jwt.secret=${jwt-secret} +ppn.app.jwt.expiration=${jwt-expiration} #send log to cloud watch #mail spring.mail.host=smtp.gmail.com spring.mail.port=587 -spring.mail.username=mockproject22@gmail.com -spring.mail.password=coowuxcbtkdkvljf +spring.mail.username=${user-email} +spring.mail.password=${password-email} spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.starttls.required=true cox.automation.email=cox-automation@gmail.com cox.name=MANHEIM-COX-AUTOMATION #connect aws -aws.ppn.accessKey=AKIAQROALZTCMMMG36XH -aws.ppn.secretKey=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 +aws.ppn.accessKey=${accessKey} +aws.ppn.secretKey=${secretKey} #bucket name -aws.ppn.bucketName=tung-photo-bucket +aws.ppn.bucketName=${bucket-name} ##config max size of file spring.servlet.multipart.max-file-size=10MB spring.servlet.multipart.max-request-size=10MB