...
There are various images available for FlexDeploy. Choose option based on your specific need. Documentation is available on Docker Hub for each image, and this document will explain it at high level.
Image | Notes |
---|---|
flexdeploy/fd_tcat_50 | FlexDeploy 5.0.0, you need to provide database connection details and working folder location. See Setup Steps. |
flexdeploy/fd_tcat_xe_50 | FlexDeploy 5.0.0 install with Oracle XE database. For POC and demo purposes only. See Setup Steps. |
flexdeploy/ebs-tutorial | FlexDeploy 5.0.0 install with Oracle XE database for EBS Tutorial. For POC and demo purposes only. See Setup Steps. |
flexdeploy/soa-tutorial | FlexDeploy 5.0.0 install with Oracle XE database for SOA Tutorial. For POC and demo purposes only. See Setup Steps. |
flexdeploy/adf-tutorial | FlexDeploy 5.0.0 install with Oracle XE database for ADF Tutorial. For POC and demo purposes only. See Setup Steps. |
flexdeploy/java-tomcat-tutorial | FlexDeploy 5.0.0 install with Oracle XE database for Tomcat Tutorial. For POC and demo purposes only. See Setup Steps. |
flexdeploy/weblogic-resource-tutorial | FlexDeploy 5.0.0 install with Oracle XE database for WebLogic Tutorial. For POC and demo purposes only. See Setup Steps. |
- production ready
fd_tcat_50
Start command session to Docker host and make sure you can run docker commands. If necessary sudo to root or other user.
Here are main steps for this type of docker image.
- Setup docker volume folder and copy plugins in it from download zip.
- Setup FlexDeploy Database
- Pull docker image
- Start container using specific image.
Step 1 - Setup Docker Volume Folder
This particular image only contains FlexDeploy with Tomcat, i.e. data and artifact repository is not part of the container. Hence we need to setup Database and various Folders first.
Code Block |
---|
mkdir -p /scratch/DockerVolume/flexdeploy
chmod -R 777 /scratch/DockerVolume
cd /scratch/DockerVolume
mkdir application
mkdir repository
cd application
mkdir plugins
cp ~/Tomcat_Complete-5.0.0.2/application/plugins/*.jar .
# ready with docker volume now |
Step 2 - Setup FlexDeploy Database
Setup database as described in Installation Instructions - Database Tier.
Step 3 - Pull Docker Image
First let's pull docker image flexdeploy/fd_tcat_50. Adjust image version as necessary.
Code Block |
---|
docker pull flexdeploy/fd_tcat_50:5.0.0.2 |
Step 4 - Run Docker Container
Now let's run FlexDeploy docker image. Adjust image name (if you are using tutorial image) and version as necessary.
This particular image contains Oracle XE and FlexDeploy with Tomcat, i.e. data and artifact repository is all part of the container. Data is persistent in the container.
Run command example below uses port number 8000 for access to FlexDeploy application, which maps to 8080 port inside docker container. Oracle XE is included as part of this image and it's port 1521 is also accessible on docker host. Adjust port numbers, URL, Password, Docker Volume Folder as appropriate for your docker host.
Code Block |
---|
docker run --name flexdeploy50 -p 8004:8080 -e FLEX_DB_URL="jdbc:oracle:thin:@129.213.91.244:1521:xe" -e FD_ADMIN_PWD="welcome1" -v /scratch/DockerVolume/flexdeploy:/home/oracle flexdeploy/fd_tcat_50:5.0.0.2 |
fd_tcat_xe_50
Start command session to Docker host and make sure you can run docker commands. If necessary sudo to root or other user.
...