109 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			Properties
		
	
	
	
	
	
			
		
		
	
	
			109 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			Properties
		
	
	
	
	
	
| # File is used by sprigboot
 | |
| server.contextPath=/*
 | |
| server.port=9292
 | |
| spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,classpath:/webui/
 | |
| 
 | |
| spring.banner.location=classpath:banner_txt.txt
 | |
| 
 | |
| #Temporary disable security to enable it remove this
 | |
| #security.ignored=/**
 | |
| 
 | |
| springfox.documentation.swagger.v2.path=/api-docs
 | |
| spring.jackson.date-format=yyyy-MM-dd
 | |
| 
 | |
| chatgpt.api.url=https://api.openai.com/v1/completions
 | |
| chatgpt.api.key=${CHATGPT_API_KEY}
 | |
| 
 | |
| 
 | |
| 
 | |
| System.Net.ServicePointManager.Expect100Continue = false;
 | |
| 
 | |
| #spring.jpa.hibernate.ddl-auto=none
 | |
| #spring.jpa.hibernate.ddl-auto=update
 | |
| #spring.datasource.continue-on-error=false
 | |
| 
 | |
| # **** MY SQL DATABASE CONNECTION ****
 | |
| 
 | |
| spring.datasource.url=jdbc:mysql://157.66.191.31:3306/db?createDatabaseIfNotExist=true
 | |
| spring.datasource.username=cnsdev
 | |
| spring.datasource.password=${DB_PASSWORD}
 | |
| 
 | |
| spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver
 | |
| 
 | |
| spring.jpa.hibernate.ddl-auto=update
 | |
| spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
 | |
| server.servlet.contextPath=/back
 | |
| 
 | |
| #spring.jpa.show-sql=true
 | |
| spring.jpa.properties.hibernate.format_sql=true
 | |
| spring.jpa.properties.hibernate.proc.param_null_passing=true
 | |
| 
 | |
| # **********paytm dependency ******
 | |
| razorpay.api.key=${RAZORPAY_API_KEY}
 | |
| razorpay.api.secret=${RAZORPAY_API_SECRET}
 | |
| 
 | |
| #***** MAIL SENDER
 | |
| spring.mail.host=smtp.gmail.com
 | |
| spring.mail.username=realitmailsender@gmail.com
 | |
| spring.mail.password=${MAIL_PASSWORD}
 | |
| spring.mail.port=587
 | |
| #spring.mail.properties.mail.smtp.auth=true
 | |
| spring.mail.properties.mail.smtp.starttls.enable=true
 | |
| spring.mail.properties.mail.smtp.starttls.required=true
 | |
| 
 | |
| # JACKSON
 | |
| spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=false
 | |
| 
 | |
| 
 | |
| spring.mail.properties.mail.smtp.auth = true
 | |
| spring.mail.properties.mail.smtp.socketFactory.port = 465
 | |
| spring.mail.properties.mail.smtp.socketFactory.class = javax.net.ssl.SSLSocketFactory
 | |
| spring.mail.properties.mail.smtp.socketFactory.fallback = false
 | |
| 
 | |
| #******* MULTIPART RESOLVER
 | |
| spring.servlet.multipart.enabled=true
 | |
| spring.servlet.multipart.max-file-size=100MB
 | |
| spring.servlet.multipart.max-request-size=100MB
 | |
| 
 | |
| #***************OAUTH2 SOCIAL LOGIN *********
 | |
| # Social login provider props
 | |
| spring.security.oauth2.client.registration.google.clientId=437023664181-0lm0ipgip3qbhga4nd7o4128jv4g2nv9.apps.googleusercontent.com
 | |
| spring.security.oauth2.client.registration.google.clientSecret=${GOOGLE_CLIENT_SECRET}
 | |
| spring.security.oauth2.client.registration.google.scope=profile, email
 | |
| 
 | |
| 
 | |
| spring.security.oauth2.client.registration.linkedin.clientId=<your-client-id>
 | |
| spring.security.oauth2.client.registration.linkedin.clientSecret=<your-client-secret>
 | |
| spring.security.oauth2.client.registration.linkedin.client-authentication-method=post
 | |
| spring.security.oauth2.client.registration.linkedin.authorization-grant-type=authorization_code
 | |
| spring.security.oauth2.client.registration.linkedin.scope=r_liteprofile, r_emailaddress
 | |
| spring.security.oauth2.client.registration.linkedin.redirect-uri={baseUrl}/login/oauth2/code/{registrationId}
 | |
| spring.security.oauth2.client.registration.linkedin.client-name=Linkedin
 | |
| spring.security.oauth2.client.registration.linkedin.provider=linkedin
 | |
| spring.security.oauth2.client.provider.linkedin.authorization-uri=https://www.linkedin.com/oauth/v2/authorization
 | |
| spring.security.oauth2.client.provider.linkedin.token-uri=https://www.linkedin.com/oauth/v2/accessToken
 | |
| spring.security.oauth2.client.provider.linkedin.user-info-uri=https://api.linkedin.com/v2/me
 | |
| spring.security.oauth2.client.provider.linkedin.user-name-attribute=id
 | |
| linkedin.email-address-uri=https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
 | |
| app.auth.tokenSecret=${APP_AUTH_TOKEN_SECRET}
 | |
| app.auth.tokenExpirationMsec=864000000
 | |
|     # After successfully authenticating with the OAuth2 Provider,
 | |
|     # we'll be generating an auth token for the user and sending the token to the
 | |
|     # redirectUri mentioned by the frontend client in the /oauth2/authorization request.
 | |
|     # We're not using cookies because they won't work well in mobile clients.
 | |
| app.oauth2.authorizedRedirectUris=http://localhost:8081/oauth2/redirect,myandroidapp://oauth2/redirect,myiosapp://oauth2/redirect
 | |
| 
 | |
| 
 | |
| projectPath=@project.basedir@
 | |
| angularProjectPath=@project.basedir@/webui
 | |
| 
 | |
| # Externalized constants from Port_Constant.java
 | |
| app.local-host=43.205.154.152
 | |
| app.frontend-port-9191=30165
 | |
| app.sure-setu-domain=http://34.198.218.30:30173
 | |
| app.gitea-ip-address=try.gitea
 | |
| app.gitea-port=io
 | |
| app.sure-vault-domain=http://54.92.243.148:30150
 | |
| app.surevault-deployment-type=32
 | |
| app.frontend-portal-domain=
 | 
