-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.application.yml
More file actions
48 lines (46 loc) · 1.84 KB
/
example.application.yml
File metadata and controls
48 lines (46 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
spring:
security:
# Enable basic authentication for the config server
enabled: true
user:
# Set the username to access the config server
name: admin
# Set the password to access the config server
password: "youshallnotpass"
profiles:
# Set to native to use a local filesystem/static url
active: native
cloud:
config:
server:
# Set to true to allow empty config files to be accepted
accept-empty: false
# See: https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_git_backend
git:
# The uri supports the following placeholders: {application}, {profile} & {label}
uri: "https://github.com/lavalink-devs/Lavalink-Example-Configs"
# set this to {application} if you group your configs by application
search-paths: "{application}"
skipSslValidation: false
timeout: 5
cloneOnStart: true
force-pull: false
deleteUntrackedBranches: false
refreshRate: 0
# username: trolley
# for GitHub, use a personal access token
# password: strongpassword
defaultLabel: main
# See: https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_file_system_backend
native:
# when using the native backend, the searchLocations supports the following placeholders: {application}, {profile} & {label}
# make sure to tell the lavalink config server a specific config location via spring.config.location=application.yml
# or else it will try to load its own config from any subdirectory your lavalink server configs might be in
searchLocations: "file:config/{application}"
server:
port: 8888
address: 0.0.0.0
logging:
level:
root: INFO
org.springframework.cloud.config: DEBUG