https://github.com/jianzhichun/deploy-spring-boot-admin
spring-boot-admin plugin for deploying -spring-boot-admin插件用于部署
https://github.com/jianzhichun/deploy-spring-boot-admin
deploy samplepage spring-boot spring-boot-admin
Last synced: 4 months ago
JSON representation
spring-boot-admin plugin for deploying -spring-boot-admin插件用于部署
- Host: GitHub
- URL: https://github.com/jianzhichun/deploy-spring-boot-admin
- Owner: jianzhichun
- License: apache-2.0
- Created: 2017-04-07T15:21:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-02T15:35:18.000Z (almost 9 years ago)
- Last Synced: 2025-07-22T16:06:17.051Z (9 months ago)
- Topics: deploy, samplepage, spring-boot, spring-boot-admin
- Language: Java
- Homepage:
- Size: 466 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deploy-spring-boot-admin
deploy-spring-boot-admin is a plugin for spring-boot-admin
## Screenshots

*Page with deploy actions*

*Page when edit deploy action*

*Page after executing deploy actions*
## sample-project
You can add custom plugins to deploy-spring-boot-admin like sample-project.
see [sample](/sample)

*Sample-project Page*

*Sample-project Page after executing custom action*
## quick-start
Add below dependencies to your pom
```xml
de.codecentric
spring-boot-admin-server
${spring.boot.admin.version}
de.codecentric
spring-boot-admin-server-ui
${spring.boot.admin.version}
io.github.jianzhichun
deploy-spring-boot-admin
0.1.6
```
Meanwhile, you can add spring-boot-starter-mail for mail-notification function
```xml
org.springframework.boot
spring-boot-starter-mail
```
Add configuration to your application.yml
```yaml
spring.boot.admin:
notify:
mail:
enabled: false
url: http://localhost:8080
deploy:
# when project start will run the actions in bootstrap
bootstrap:
- foo
- bar
# charset should be charset in deployed server
charset: gbk
mail:
enabled: false
simpleMailMessage:
from: xxxxx@gmail.com
to:
- xxxx@qq.com
subject: test
text: Hi,
# action means script in deployed server
actions:
foo:
-
exec: ipconfig
bar:
-
exec: ping
args:
- www.baidu.com
-
exec: ipconfig
```
## thanks
[xigongdaEricyang](https://github.com/xigongdaEricyang)
## enjoy