47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
spring:
|
|
application:
|
|
name: anyame-user-service
|
|
security:
|
|
oauth2:
|
|
authorizationserver:
|
|
issuer-url: http://localhost:8080
|
|
introspection-endpoint: /oauth2/token-info
|
|
client:
|
|
registration:
|
|
github:
|
|
clientId: ${GITHUB_CLIENT_ID}
|
|
clientSecret: ${GITHUB_CLIENT_SECRET}
|
|
scope:
|
|
- user:email
|
|
- read:user
|
|
|
|
google:
|
|
clientId: ${GOOGLE_CLIENT_ID}
|
|
clientSecret: ${GOOGLE_CLIENT_SECRET}
|
|
datasource:
|
|
url: ${DATABASE_URL}
|
|
username: ${DATABASE_USERNAME}
|
|
password: ${DATABASE_PASSWORD}
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration/structure, classpath:db/migration/data
|
|
validate-on-migrate: true
|
|
default-schema: main
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: create
|
|
|
|
logging:
|
|
level:
|
|
root: DEBUG
|
|
org.springframework.security: DEBUG
|
|
logging.level.org.springframework.web: DEBUG
|
|
logging.level.org.springframework.security.oauth2: TRACE
|
|
org.apache.tomcat.util.net.NioEndpoint: ERROR
|
|
sun.rmi: ERROR
|
|
java.io: ERROR
|
|
javax.management: ERROR
|
|
|
|
server:
|
|
error:
|
|
include-message: always |