|
|
@ -1,19 +1,26 @@ |
|
|
|
# wflb-docker-demo |
|
|
|
Example on how to setup a Wildfly cluster using Docker |
|
|
|
<p align="center"> |
|
|
|
<img src="https://d33wubrfki0l68.cloudfront.net/e29410f43273a18d40e1bd6e41641f5afdfc8057/eb7ca/traefik.logo.png" width="175px"/> |
|
|
|
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/Plus_font_awesome.svg/2000px-Plus_font_awesome.svg.png" width="40px"/> |
|
|
|
<img src="https://www.shadowandy.net/wp/wp-content/uploads/docker.png" width="275px"/> |
|
|
|
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/Plus_font_awesome.svg/2000px-Plus_font_awesome.svg.png" width="40px"/> |
|
|
|
<img src="https://ms-vsts.gallerycdn.vsassets.io/extensions/ms-vsts/jboss-wildfly-management-extension/0.112.1/1485289762175/Microsoft.VisualStudio.Services.Icons.Default" width="250px"/> |
|
|
|
<img src="https://d33wubrfki0l68.cloudfront.net/e29410f43273a18d40e1bd6e41641f5afdfc8057/eb7ca/traefik.logo.png" width="150px"/> |
|
|
|
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/Plus_font_awesome.svg/2000px-Plus_font_awesome.svg.png" width="35px"/> |
|
|
|
<img src="https://www.shadowandy.net/wp/wp-content/uploads/docker.png" width="250px"/> |
|
|
|
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/ce/Plus_font_awesome.svg/2000px-Plus_font_awesome.svg.png" width="35px"/> |
|
|
|
<img src="https://ms-vsts.gallerycdn.vsassets.io/extensions/ms-vsts/jboss-wildfly-management-extension/0.112.1/1485289762175/Microsoft.VisualStudio.Services.Icons.Default" width="200px"/> |
|
|
|
</p> |
|
|
|
<p align="center"> |
|
|
|
<img src="https://docs.traefik.io/img/architecture.png" width="90%"/> |
|
|
|
<img src="https://docs.traefik.io/img/architecture.png" width="75%"/> |
|
|
|
</p> |
|
|
|
|
|
|
|
## 如何執行 |
|
|
|
1. 透過**docker cli** |
|
|
|
|
|
|
|
2. 透過**docker compose** |
|
|
|
``` |
|
|
|
docker-compose up -d |
|
|
|
``` |
|
|
|
|
|
|
|
**docker-compose up -d** |
|
|
|
|
|
|
|
## 參考 |
|
|
|
* [Traefik](https://traefik.io/) |
|
|
|
* [Docker](https://www.google.com.tw/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwii842D5NvYAhVDVLwKHSgJA1QQFggmMAA&url=https%3A%2F%2Fwww.docker.com%2F&usg=AOvVaw3p9e1qPvdfjCrUwPYAhUlS) |
|
|
|
* [Wildfly](http://wildfly.org/) |
|
|
|
|