Skip to content

Commit

Permalink
vinh/add qa spring boot setting
Browse files Browse the repository at this point in the history
  • Loading branch information
AnataAria committed Nov 7, 2023
1 parent b979aed commit 91315de
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions api/drawingcouseselling/src/main/resources/application.qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
aws:
access:
key:
id: AKIA2EWSF45CBHDRXQJK
s3:
region: ap-southeast-1
bucket:
name: ademyimage
secret:
access:
key: tN7GXYsy2zZHqb1znrfCf/hmNXzdFuRN9MSPdG2P

spring:
datasource:
url: jdbc:mariadb://${DB_HOST:anataarisa.hopto.org}:${DB_PORT:3306}/ademy
# url: jdbc:mariadb://localhost:3307/ademy
username: ${DB_USERNAME:pim}
password: ${DB_PASSWORD:Vinh12345.}
driver-class-name: org.mariadb.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
sql:
init:
encoding: utf-8
# session:
# store-type=jdbc:
mail:
host: smtp.gmail.com
port: 587
username: [email protected]
password: ztgzeyizzyicozuc
properties:
mail:
smtp:
auth: true
starttls:
enable: true
security:
oauth2:
client:
registration:
google:
client-id: 509336143279-ng2g9fdpg8pkt1j3jlj24au6l96hk0qn.apps.googleusercontent.com
client-secret: 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

server:
servlet:
context-path: /api/v1
port: 9090
error:
include-message: always


logging:
level:
org:
springframework:
security: TRACE
hibernate:
type: trace
orm:
jdbc:
bind: trace

jwt-key:
secret-key: ${JWT_KEY:49906c40c2bd2ce2a35571ebf991e74573d0e5cc5db9e032a7b1c5af42c8b038}

paypal:
client:
secret: EHGsrSIQG-aODbOaHmd5YnhCLNS3Zq3x3einniprXjRkABpA-U0UEXy9w_hp-YElLEwsQv6tmQNJ4ZVS
app: AWbOtZPREQ6DxSCza2yGZT82kQTW9T17r8xezCuKARBoBM5jli0FdOPrdRVkytKLdeaaFaiM6k-tHlr6
mode: sandbox


frontend:
url: http://localhost:3000/

api:
base:
url: http://localhost:9090/api/v1/

0 comments on commit 91315de

Please sign in to comment.