Skip to content

Commit 16a8982

Browse files
committed
Added Web-Console Deployment
1 parent 5dae841 commit 16a8982

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

images/console1.png

53 KB
Loading

readme.adoc

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ or virtual machines in a data center, or in the Cloud.
120120
Docker's portability and lightweight nature also make dynamically
121121
managing workloads easy. You can use Docker to quickly scale up or
122122
tear down applications and services.
123-
Docker is so fast, that scaling can be near real time.
123+
<Docker is so fast, that scaling can be near real time.
124124

125125
**How is it different from VM?**
126126

@@ -444,10 +444,24 @@ deploy <TICKET_MONSTER_PATH>/ticket-monster.war --force
444444
----
445445

446446
Now you've been sucessfully using the CLI to remotely deploy the ticket-monster application to a running docker container.
447+
And again, keep the container running, we're going to look into the last deployment option you have.
447448

448449
**Using the web console**
449450

450-
http://blog.arungupta.me/deploy-wildfly-docker-eclipse/
451+
The build in Web-Console also relies on the same management APIs that we've already been using via JBoss Developer Tools and the CLI. It does provide a nice web-based way to administrate your instance and if you've already exposed the container ports, you can simply access it via the URL: http://dockerhost:9990 in your webbrowser.
452+
This will point you to the management interface
453+
454+
.Start Server
455+
image::images/console1.png[]
456+
457+
If you're prompted for username and password enter "admin" as username and "docker#admin" as password. Now navigate through it and execute the following steps:
458+
459+
. Go to the "Deployments tab".
460+
. Click on "Replace" button.
461+
. On the "Step 1/2" screen, select the <TICKET_MONSTER_PATH>/ticket-monster.war file on your computer and click "Next".
462+
. On the "Step 2/2" screen, click "Next" again.
463+
464+
Now you've been successfully deploying the Ticket Monster application in three different ways. Time to look at some more features, that Docker can provide to Java developers.
451465

452466
## Ticket-Monster Docker Cluster
453467

0 commit comments

Comments
 (0)