Files
flagnote-service/src/main/resources/application.yml
2023-03-07 17:56:41 +08:00

50 lines
916 B
YAML

server:
address: 127.0.0.1
port: 20000
spring:
application:
name: flagnote-service
profiles:
active: dev
codec:
max-in-memory-size: 10MB
# config:
# import: 'optional:configserver:http://localhost:9999'
data:
mongodb:
authentication-database: flagnote
database: flagnote
host: service.flagnote.com
port: 37017
username: flagnote
password: flagnote1qazx
autoConnectRetry: true
socketKeepAlive: true
socketTimeout: 10000
management:
# server:
# address: 127.0.0.1
# port: 29000
endpoint:
shutdown:
enabled: true
health:
enabled: true
endpoints:
web:
base-path: /f2w8u47ie56edc93/actuator
exposure:
include: shutdown,health
logging:
level:
org:
springframework:
data:
mongodb:
core:
MongoTemplate: DEBUG