application.properties 1.61 KB
Newer Older
jcorvi's avatar
jcorvi committed
1
spring.application.name =ades_rest_api
Javi Corvi's avatar
Javi Corvi committed
2
server.servlet.context-path=/pretoxapi
jcorvi's avatar
jcorvi committed
3
#Spring Boot Port
4
#server.port = ${SERVER_PORT}
jcorvi's avatar
jcorvi committed
5
6
server.port = 8090
#ADES Database
Javi Corvi's avatar
Javi Corvi committed
7
8
#spring.data.mongodb.uri=mongodb://localhost:27017/etransafe
spring.data.mongodb.uri=mongodb://***REMOVED***:***REMOVED***2019!@***REMOVED***:27017/etransafe
javi's avatar
javi committed
9
10
#development enviroment
#docker run -d -p 27017-27019:27017-27019 -v /home/javi/eTRANSAFE_DATA/mongo-data-dev://data/db --name mongodb mongo:4.0.4
jcorvi's avatar
work    
jcorvi committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29


##custom security
#spring.security.oauth2.client.registration.custom-client.client-id=R2dpxQ3vPrtfgF72
#spring.security.oauth2.client.registration.custom-client.client-secret=fDw7Mpkk5czHNuSRtmhGmAGL42CaxQB9
#spring.security.oauth2.client.registration.custom-client.client-name=Auth Server
#
#
#
#####spring.security.oauth2.client.registration.custom-client.scope=user_info
#spring.security.oauth2.client.registration.custom-client.provider=custom-provider
#spring.security.oauth2.client.registration.custom-client.redirect-uri-template=http://localhost:8090/login/oauth2/code/
#spring.security.oauth2.client.registration.custom-client.client-authentication-method=basic
#spring.security.oauth2.client.registration.custom-client.authorization-grant-type=authorization_code
#spring.security.oauth2.client.provider.custom-provider.token-uri=http://localhost:8085/auth/oauth/token
#spring.security.oauth2.client.provider.custom-provider.authorization-uri=http://localhost:8085/auth/oauth/authorize
#spring.security.oauth2.client.provider.custom-provider.user-info-uri=http://localhost:8085/auth/user/me
#spring.security.oauth2.client.provider.custom-provider.user-name-attribute=name