added env variables
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
spring.application.name=SafeQR-app
|
||||
spring.profiles.active=local
|
||||
#http.port=${HTTP_PORT}
|
||||
#server.port=${SERVER_PORT}
|
||||
#server.ssl.enabled=true
|
||||
#server.ssl.key-store-type=${SERVER_SSL_KEY_STORE_TYPE}
|
||||
#server.ssl.key-store=${SERVER_SSL_KEY_STORE_LOCATION}
|
||||
#server.ssl.key-store-password=${SERVER_SSL_KEY_STORE_PASSWORD}
|
||||
#server.ssl.key-alias=${SERVER_SSL_KEY_ALIAS}
|
||||
#trust.store=${SERVER_SSL_TRUST_STORE_LOCATION}
|
||||
#trust.store.password=${SERVER_SSL_TRUST_STORE_PASSWORD}
|
||||
http.port=${HTTP_PORT}
|
||||
server.port=${SERVER_PORT}
|
||||
server.ssl.enabled=true
|
||||
server.ssl.key-store-type=${SERVER_SSL_KEY_STORE_TYPE}
|
||||
server.ssl.key-store=${SERVER_SSL_KEY_STORE_LOCATION}
|
||||
server.ssl.key-store-password=${SERVER_SSL_KEY_STORE_PASSWORD}
|
||||
server.ssl.key-alias=${SERVER_SSL_KEY_ALIAS}
|
||||
trust.store=${SERVER_SSL_TRUST_STORE_LOCATION}
|
||||
trust.store.password=${SERVER_SSL_TRUST_STORE_PASSWORD}
|
||||
|
||||
spring.datasource.url=${SERVER_DB_URL}
|
||||
spring.datasource.username=${SERVER_DB_USERNAME}
|
||||
@@ -21,4 +21,15 @@ spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
|
||||
google.safebrowsing.api.key=${GOOGLE_SAFE_BROWSING_API_KEY}
|
||||
virustotal.api.key=${VIRUSTOTAL_API_KEY}
|
||||
virustotal.api.key=${VIRUSTOTAL_API_KEY}
|
||||
|
||||
#Gmail API Configuration
|
||||
gmail.client.clientId={GOOGLE_CLIENT_ID}
|
||||
gmail.client.clientSecret={GOOGLE_CLIENT_SECRET}
|
||||
gmail.client.accessTokenUri=https://accounts.google.com/o/oauth2/token
|
||||
gmail.client.userAuthorizationUri=https://accounts.google.com/o/oauth2/auth
|
||||
gmail.client.clientAuthenticationScheme=query
|
||||
gmail.client.scope=https://www.googleapis.com/auth/gmail.readonly
|
||||
gmail.resource.userInfoUri=https://www.googleapis.com/gmail/v1/users/me/profile
|
||||
gmail.resource.preferTokenInfo=true
|
||||
gmail.client.redirectUri=https://bk5wiynzsi.execute-api.ap-southeast-1.amazonaws.com/api/gmail/callback
|
||||
Reference in New Issue
Block a user