test-backend/deploy/config/application-prod.yml

44 lines
893 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 8081
servlet:
context-path: /test
spring:
datasource:
dynamic:
datasource:
master:
url: ${MYSQL_URL}
username: ${MYSQL_USER}
password: ${MYSQL_PASS}
driver-class-name: com.mysql.cj.jdbc.Driver
data:
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASS}
database: ${REDIS_DB:0}
flyway:
enabled: false
app:
jwt:
secret: ${JWT_SECRET:defaultSecretPleaseChangeMe}
knife4j:
enable: true
# ==== MinIO可选MINIO_ENABLED=true 时生效)====
jeecg:
uploadType: ${JEECG_UPLOAD_TYPE:local}
minio:
minio_url: ${MINIO_ENDPOINT:http://127.0.0.1:9000}
minio_name: ${MINIO_ACCESS_KEY:minioadmin}
minio_pass: ${MINIO_SECRET_KEY:minioadmin}
bucketName: ${MINIO_BUCKET:ghb-base}
logging:
level:
root: INFO
com.ghb: INFO