自动化部署配置

This commit is contained in:
筱锋xiao_lfeng 2024-01-24 15:59:51 +08:00
parent 2af7cf939f
commit b0fcddf675
Signed by: XiaoLFeng
GPG Key ID: F693AA12AABBFA87
3 changed files with 40 additions and 1 deletions

1
.gitignore vendored
View File

@ -35,4 +35,3 @@ build/
### 自定义 ### ### 自定义 ###
*.pdf *.pdf
/src/main/resources/application-dev.yml /src/main/resources/application-dev.yml
/src/main/resources/application-test.yml

18
pom.xml
View File

@ -151,4 +151,22 @@
</plugins> </plugins>
</build> </build>
<profiles>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<profile.active>dev</profile.active>
</properties>
</profile>
<profile>
<id>test</id>
<properties>
<profile.active>test</profile.active>
</properties>
</profile>
</profiles>
</project> </project>

View File

@ -0,0 +1,22 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306
username: organize_oa
password: Nbxt123456
driver-class-name: com.mysql.cj.jdbc.Driver
redis:
database: 0
host: localhost
port: 6379
password: 123456
mail:
default-encoding: UTF-8
host: smtp.qiye.aliyun.com
username: wxxydeveloper@x-lf.cn
password: 114477225588Zcw
properties:
form: wxxydeveloper@x-lf.cn
mail-ssl: true
mybatis:
configuration:
map-underscore-to-camel-case: true