Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip

This documentation is for FlexDeploy 6.0.0.x. If you are using different version, please go to home page and select appropriate FlexDeploy version documentation.

You must have Docker Engine installed as per See https://docs.docker.com/install for this installation optionget-docker/ for information on how to do that.

If running Docker Desktop, please adjust your memory configuration so that 4 gb will be available to the container running the fd_tcat_postgres  image.

Start command session to the Docker host and make sure you can run docker commands. If necessary, sudo to root or other user.Image Removed

...

Here are main steps for this type of docker image.

  1. Pull docker image

  2. Start container using specific image.

Step 1 - Pull Docker Image

First let's pull docker image flexdeploy/fd_tcat_postgres. Adjust image name (if you are using a tutorial image) and version as necessary.

Code Block
docker pull flexdeploy/fd_tcat_postgres
or
docker pull <tutorial image>

...

Step 2 - Run Docker Container

Now let's run the FlexDeploy docker image. Adjust image name (if you are using tutorial image) and version as necessary.

...

.

...

This particular image contains Oracle XE PostgreSQL DB 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 PostgreSQL is included as part of this image and it's port 1521 5432 is also accessible on docker host. Adjust port numbers, Timezone as appropriate for your docker host.

Code Block
docker run --name flexdeploy55 -p 1521:1521 -p 8000:8080 --shm-size=2gb -e TZ=$(date +%Z) flexdeploy/ebs-tutorial:5.5.0.0
or
docker run --name flexdeploy55 -p 1521:1521 -p 8000:8080 --shm-size=2gb -e TZ=America/Chicago flexdeploy/ebs-tutorial:5.5.0.0
2.2 fd_tcat_postgres

This particular image contains PostgreSQL DB 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. PostgreSQL is included as part of this image and it's port 5432 is also accessible on docker host. Adjust port numbers, Timezone as appropriate for your docker host.Since this is just for a demo or POC we are going to just use the latest version. If you’d like you can specify with something like this for the image name: flexdeploy/fd_tcat_postgres:6.0.0.0

Code Block
docker run --name flexdeploy55flexdeploy56_postgres -p 5432:5432 -p 8000:8080 -e TZ=$(date +%Z) flexdeploy/fd_tcat_postgres:5.5.0.0
or
docker run --name flexdeploy55flexdeploy56_postgres -p 5432:5432 -p 8000:8080 -e TZ=America/Chicago flexdeploy/fd_tcat_postgres:5.5.0.0

...

After some time, you can close command session that started FlexDeploy docker container. If you use Ctrl + C, then container will exit, just close session window.

...

Tip

If necessary, make sure to open port 8000 for access from outside docker host.

As always when you first launch FlexDeploy, you will need to complete Registration process.

...

Once you complete registration, you are ready to use FlexDeploy.

Now that you have installed FlexDeploy, let's get start with configuration. You can do this in matter of minutes by using the Blueprints concept, which is very simple configuration wizard for most common usecasesuse cases.