This topic explains the configuration and deployment options for a PAS for OpenEdge container.

Docker

The Docker deployment mode uses the docker run command to instantiate and run a Docker container. The command creates a container from the specified image and then runs that container.

Using the Docker deployment method, you can use the parameter -v or --volume with the docker run command to mount a host directory as a volume to a container directory. This parameter allows you to use data external to the container.

For more information about Docker deployment, see the Docker documentation.

Docker Compose

Docker Compose is a tool for defining and running complex, multi-container Docker applications. A Docker Compose file is a YAML (docker-compose.yaml) file that contains configuration details for one or more services that represent the different parts of your application. For example, one service can represent your business logic while another service represents the client. For more information about Docker Compose, see the Docker Compose documentation.

To run Docker containers using Docker Compose:
docker-compose up –d

Minikube

Minikube allows Kubernetes to run locally inside a virtual machine.

To learn how to to use and configure Minikube, see the Minikube documentation.

Configure the config.properties file

Configure the config.properties file according to deployment requirements. The config.properties file is located inside the deploy folder of PAS for OpenEdge image.

To define configuration properties for your PAS for OpenEdge container, open the config.properties file, and modify the settings as follows:

Configuration Description
DEPLOYMENT.MODE The following deployment modes are available:
  • Docker
  • Docker Compose
  • Minikube
You can only use one mode at a time.
APP.DOCKER.IMAGE.NAME The name of the Docker image for the ABL application.
APP.DOCKER.IMAGE.TAG The tag for the Docker image for the ABL application.
JDK.DOCKER.IMAGE.NAME The name of the Docker image that contains the JDK.
JDK.DOCKER.IMAGE.TAG The tag for the Docker image for the JDK.
JDK.DOCKER.IMAGE.JAVA.LOCATION The location of the JDK inside the container.
PAS.INSTANCE.NAME The name of the PAS for OpenEdge instance.
PASOE.DOCKER.IMAGE.NAME The name of the PAS for OpenEdge Docker image.
Note: You do not need to change this value because it already configured. This value should only be modified for a different PAS for OpenEdge image name and tag.
PASOE.DOCKER.IMAGE.TAG The tag for the PAS for OpenEdge Docker image. The tag value corresponds to the version of OpenEdge.
PASOE.HTTPS.PORT The port number used by PAS for OpenEdge to communicate. Specify a port number from the machine on which Docker is running.
FLUENTBIT.LOGGING Specifies whether or not Fluent Bit logging is enabled. The default setting is true.

After the configuration properties are set, save the config.properties file and close the editor.

Note: Use the same name, tag, and Java location of the JDK Docker image for JDK.DOCKER.IMAGE.NAME, JDK.DOCKER.IMAGE.TAG, and JDK.DOCKER.IMAGE.JAVA.LOCATION, respectively.