We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75ec04c commit ac19761Copy full SHA for ac19761
1 file changed
src/main/resources/application.yml
@@ -4,17 +4,17 @@ spring:
4
ddl-auto: none
5
show-sql: true
6
datasource:
7
- url: jdbc:mariadb://ip:3306/db-name
8
- username: admin
9
- password: pass
+ url: jdbc:mariadb://${DDB_DATABASE_URL}:3306/${DDB_DATABASE_NAME}
+ username: ${DDB_DATABASE_USER}
+ password: ${DDB_DATABASE_PASSWORD}
10
driver-class-name: org.mariadb.jdbc.Driver
11
security:
12
oauth2:
13
client:
14
registration:
15
discord:
16
- clientId: client id
17
- clientSecret: client secret
+ clientId: ${DDB_CLIENT_ID}
+ clientSecret: ${DDB_CLIENT_SECRET}
18
authorizationGrantType: authorization_code
19
redirectUri: "{baseUrl}/login/oauth2/code/discord"
20
scope: identify
0 commit comments