Files
training/.env.example
马宝龙 5e07c24dd4 初始化
2026-07-27 23:20:12 +08:00

21 lines
593 B
Plaintext
Raw Permalink 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.

# 当前环境标识。项目连接外部 MySQL不通过 Docker 创建数据库。
APP_ENV=development
# 外部 MySQL 连接配置。Spring Boot 会读取这一组变量。
MYSQL_HOST=24.233.2.106
MYSQL_PORT=13322
MYSQL_DATABASE=training
MYSQL_USER=admin
MYSQL_PASSWORD=13518200336LsD@@
MYSQL_ROOT_PASSWORD=root_password
# Spring Boot 运行配置。
SERVER_PORT=8080
SPRING_JPA_HIBERNATE_DDL_AUTO=update
SPRING_JPA_SHOW_SQL=true
SPRING_JPA_OPEN_IN_VIEW=false
SPRING_JPA_PROPERTIES_HIBERNATE_FORMAT_SQL=true
LOGGING_LEVEL_COM_EXAMPLE_TRAINING=DEBUG
LOGGING_LEVEL_ORG_HIBERNATE_SQL=DEBUG