自动化部署配置
This commit is contained in:
parent
2af7cf939f
commit
b0fcddf675
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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
18
pom.xml
|
@ -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>
|
||||||
|
|
22
src/main/resources/application-test.yml
Normal file
22
src/main/resources/application-test.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user