WebLogic Docker Deployment¶
This document outlines the process for deploying a [[WebLogic]] server instance using [[Docker]] and Docker Compose. This method is primarily intended for practice environments to facilitate setup and configuration without manual installation.
Docker Compose Configuration¶
The deployment relies on a docker-compose.yml file to define the service infrastructure^[600-developer-java-application-server-weblogic-weblogic-intellij.md]. The example configuration uses a version 3 syntax and specifies a service named db (which functions as the application server)^[600-developer-java-application-server-weblogic-weblogic-intellij.md].
Service Details¶
- Image: The configuration uses the
ismaleiva90/weblogic12Docker image^[600-developer-java-application-server-weblogic-weblogic-intellij.md]. - Ports: The following port mappings are exposed to allow access to the server and its administrative console^[600-developer-java-application-server-weblogic-weblogic-intellij.md]:
7001: Default administration port.7002: Secondary port.5556: Debug port.
- Restart Policy: The container is configured with
restart: alwaysto ensure the service automatically recovers if it stops^[600-developer-java-application-server-weblogic-weblogic-intellij.md].
Deployment Steps¶
To start the deployment, execute the following command in the directory containing the docker-compose.yml file^[600-developer-java-application-server-weblogic-weblogic-intellij.md]:
docker-compose up
Accessing the Console¶
Once the container is running, the WebLogic administration console can be accessed via a web browser. The default credentials and access URLs are listed below^[600-developer-java-application-server-weblogic-weblogic-intellij.md].
Connection Information¶
- URLs:
http://localhost:7001/consolehttp://192.168.79.100:7001/console(Replace with your specific host IP if necessary)
- Default Credentials:
- Username:
weblogic - Password:
welcome1
- Username:
Sources¶
^[600-developer-java-application-server-weblogic-weblogic-intellij.md]