2021-08-07 09:21:08 +07:00
|
|
|
server:
|
|
|
|
port: 8081
|
|
|
|
|
2021-08-07 10:27:34 +07:00
|
|
|
# Spring Boot
|
2021-08-07 09:21:08 +07:00
|
|
|
spring:
|
|
|
|
datasource:
|
2021-08-07 10:33:39 +07:00
|
|
|
url: jdbc:postgresql://${DB_HOST:localhost}:5432/${DB_NAME:graphql-demo}
|
2021-08-07 10:32:38 +07:00
|
|
|
username: ${DB_USER:your-username}
|
2021-08-07 10:33:39 +07:00
|
|
|
password: ${DB_PASSWORD:your-password}
|
2021-08-07 10:27:34 +07:00
|
|
|
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
|