64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
spring:
|
|
profiles:
|
|
active: development
|
|
application:
|
|
name: "%APP_NAME%"
|
|
version: "%APP_VERSION%"
|
|
build:
|
|
time: "%APP_BUILD_TIME%"
|
|
os:
|
|
name: "%APP_BUILD_OS_NAME%"
|
|
version: "%APP_BUILD_OS_VERSION%"
|
|
|
|
management:
|
|
endpoints:
|
|
access:
|
|
default: none
|
|
web:
|
|
exposure:
|
|
include: "health,info"
|
|
endpoint:
|
|
health:
|
|
show-details: always
|
|
access: read_only
|
|
info:
|
|
access: read_only
|
|
|
|
jwt:
|
|
private-key: cert/private_key.pem
|
|
|
|
---
|
|
###############################
|
|
### Development environment ###
|
|
###############################
|
|
spring:
|
|
config:
|
|
activate:
|
|
on-profile: development
|
|
r2dbc:
|
|
url: r2dbc:postgresql://localhost:5432/account_registry
|
|
username: services
|
|
password: password
|
|
|
|
---
|
|
##########################
|
|
### Docker environment ###
|
|
##########################
|
|
spring:
|
|
config:
|
|
activate:
|
|
on-profile: docker
|
|
r2dbc:
|
|
url: r2dbc:postgresql://PostgreSQL:5432/account_registry
|
|
username: services
|
|
password: password
|
|
|
|
---
|
|
##############################
|
|
### Production environment ###
|
|
##############################
|
|
spring:
|
|
config:
|
|
activate:
|
|
on-profile: production
|