Add Environment variables

This commit is contained in:
George Kalampokis 2023-10-09 10:38:46 +03:00
parent b5cbe6a3d8
commit cab2f1bc64
1 changed files with 22 additions and 22 deletions

View File

@ -1,9 +1,9 @@
dmp.domain = http://localhost:4200 dmp.domain = http://localhost:4200
####################PERSISTENCE OVERRIDES CONFIGURATIONS########## ####################PERSISTENCE OVERRIDES CONFIGURATIONS##########
database.url= database.url= ${DB_URL:}
database.username= database.username= ${DB_USER:}
database.password= database.password= ${DB_PASS:}
spring.datasource.maxIdle=10 spring.datasource.maxIdle=10
spring.datasource.minIdle=5 spring.datasource.minIdle=5
spring.datasource.maxActive=10 spring.datasource.maxActive=10
@ -15,7 +15,7 @@ audit.enable = false
elasticsearch.host = localhost elasticsearch.host = localhost
elasticsearch.port = 9200 elasticsearch.port = 9200
elasticsearch.username=elastic elasticsearch.username=elastic
elasticsearch.password= elasticsearch.password= ${ELASTIC_PASS:}
elasticsearch.index=dmps elasticsearch.index=dmps
elasticsearch.innerHitsSize=100 elasticsearch.innerHitsSize=100
@ -40,16 +40,16 @@ email.merge=classpath:templates/email/emailMergeConfirmation.html
email.unlink=classpath:templates/email/emailUnlinkConfirmation.html email.unlink=classpath:templates/email/emailUnlinkConfirmation.html
#############FACEBOOK LOGIN CONFIGURATIONS######### #############FACEBOOK LOGIN CONFIGURATIONS#########
facebook.login.clientId= facebook.login.clientId=${FACEBOOK_CLIENT_ID:}
facebook.login.clientSecret= facebook.login.clientSecret=${FACEBOOK_CLIENT_SECRET:}
facebook.login.namespace= facebook.login.namespace=${FACEBOOK_NAMESPACE:}
#############GOOGLE LOGIN CONFIGURATIONS######### #############GOOGLE LOGIN CONFIGURATIONS#########
google.login.clientId= google.login.clientId= ${GOOGLE_CLIENT_ID:}
#############LINKEDIN LOGIN CONFIGURATIONS######### #############LINKEDIN LOGIN CONFIGURATIONS#########
linkedin.login.clientId= linkedin.login.clientId=${LINKEDIN_CLIENT_ID:}
linkedin.login.clientSecret= linkedin.login.clientSecret=${LINKEDIN_CLIENT_SECRET:}
linkedin.login.redirect_uri=http://localhost:4200/login/linkedin linkedin.login.redirect_uri=http://localhost:4200/login/linkedin
linkedin.login.user_info_url=https://api.linkedin.com/v2/me linkedin.login.user_info_url=https://api.linkedin.com/v2/me
linkedin.login.user_email=https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~)) linkedin.login.user_email=https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
@ -62,21 +62,21 @@ twitter.login.redirect_uri=http://localhost:4200/login/twitter
b2access.externallogin.user_info_url=https://b2access-integration.fz-juelich.de:443/oauth2/userinfo b2access.externallogin.user_info_url=https://b2access-integration.fz-juelich.de:443/oauth2/userinfo
b2access.externallogin.access_token_url=https://b2access-integration.fz-juelich.de:443/oauth2/token b2access.externallogin.access_token_url=https://b2access-integration.fz-juelich.de:443/oauth2/token
b2access.externallogin.redirect_uri=http://opendmp.eu/api/oauth/authorized/b2access b2access.externallogin.redirect_uri=http://opendmp.eu/api/oauth/authorized/b2access
b2access.externallogin.clientid= b2access.externallogin.clientid=${B2ACCESS_CLIENT_ID:}
b2access.externallogin.clientSecret= b2access.externallogin.clientSecret=${B2ACCESS_CLIENT_SECRET:}
#############ORCID CONFIGURATIONS######### #############ORCID CONFIGURATIONS#########
orcid.login.client_id=APP-766DI5LP8T75FC4R orcid.login.client_id=${ORCID_CLIENT_ID:}
orcid.login.client_secret=f6ddc717-f49e-4bce-b302-2e479b226a24 orcid.login.client_secret=${ORCID_CLIENT_SECRET:}
orcid.login.access_token_url=https://orcid.org/oauth/token orcid.login.access_token_url=https://orcid.org/oauth/token
orcid.login.redirect_uri=http://localhost:4200/login/external/orcid orcid.login.redirect_uri=http://localhost:4200/login/external/orcid
#############OPENAIRE CONFIGURATIONS######### #############OPENAIRE CONFIGURATIONS#########
openaire.login.client_id= openaire.login.client_id=${OPENAIRE_CLIENT_ID:}
openaire.login.client_secret= openaire.login.client_secret=${OPENAIRE_CLIENT_SECRET:}
openaire.login.access_token_url= openaire.login.access_token_url=${OPENAIRE_ACCESS_TOKEN_URL:}
openaire.login.redirect_uri= openaire.login.redirect_uri=${OPENAIRE_REDIRECT_URI:}
openaire.login.user_info_url= openaire.login.user_info_url=${OPENAIRE_USER_INFO_URI:}
#############CONFIRMATION EMAIL CONFIGURATIONS######### #############CONFIRMATION EMAIL CONFIGURATIONS#########
conf_email.expiration_time_seconds=14400 conf_email.expiration_time_seconds=14400
@ -84,8 +84,8 @@ conf_email.subject=OpenDMP email confirmation
#############ZENODO CONFIGURATIONS######### #############ZENODO CONFIGURATIONS#########
zenodo.login.access_token_url=https://sandbox.zenodo.org/oauth/token zenodo.login.access_token_url=https://sandbox.zenodo.org/oauth/token
zenodo.login.client_id= zenodo.login.client_id=${ZENODO_CLIENT_ID:}
zenodo.login.client_secret= zenodo.login.client_secret=${ZENODO_CLIENT_SECRET:}
zenodo.login.redirect_uri=http://localhost:4200/login/external/zenodo zenodo.login.redirect_uri=http://localhost:4200/login/external/zenodo
############PUBLIC API CONFIGUARION############### ############PUBLIC API CONFIGUARION###############
@ -94,7 +94,7 @@ publicapi.basePath=/srv
publicapi.schema=https publicapi.schema=https
#############CONTACT EMAIL CONFIGURATIONS######### #############CONTACT EMAIL CONFIGURATIONS#########
contact_email.mail= contact_email.mail=${CONTACT_EMAIL:}
language.path=dmp-frontend/src/assets/i18n/ language.path=dmp-frontend/src/assets/i18n/