spring-graphql-demo/src/main/resources/application.yml

30 lines
546 B
YAML
Raw Normal View History

2021-08-07 09:21:08 +07:00
server:
port: 8081
# Spring Boot
2021-08-07 09:21:08 +07:00
spring:
datasource:
2021-08-07 10:32:38 +07:00
url: jdbc:postgresql://${DB_HOST:192.168.0.202}:5432/${DB_NAME:graphql-demo}
username: ${DB_USER:your-username}
password: ${DB_PASSWRORD:your-password}
driver-class-name: org.postgresql.Driver
# Spring Boot Actuator
management:
endpoints:
web:
exposure:
include: health,info,metrics
# GraphQL Voyager
voyager:
enabled: true
cdn:
enabled: false
# GraphQL Playground
graphql:
playground:
enabled: true
cdn:
enabled: false