This topic contains sample configurations for Docker, Docker Compose, and Minikube. You can use any of these tools to deploy an ABL application to a PAS for OpenEdge container. However, you must use the mode defined in the config.properties file.

Sample Docker configuration

The following code is the configuration for the Docker deployment:
# Deployment mode can be one of: docker/docker-compose/minikube
DEPLOYMENT.MODE=docker

# Name and tag with which the app container image will be built
# Same name will be used as the APP_NAME for fluent bit logging
APP.DOCKER.IMAGE.NAME=<sports>
APP.DOCKER.IMAGE.TAG=<latest>

# Container image that contains JDK (compatible) in it
JDK.DOCKER.IMAGE.NAME=<adoptopenjdk>
JDK.DOCKER.IMAGE.TAG=<11.0.4_11-jdk-hotspot>
# Location/Path to JDK inside container
JDK.DOCKER.IMAGE.JAVA.LOCATION=</opt/java/openjdk>

PAS.INSTANCE.NAME=<oepas4>
PASOE.DOCKER.IMAGE.NAME=<progresssoftware/pasoe>
PASOE.DOCKER.IMAGE.TAG=<12.2.0>
# In case of kubernetes, provided port should be in the default node port range: 30000-32767
PASOE.HTTPS.PORT=<50813>

# Flag to enable fluent bit logging, defaults to true
FLUENTBIT.LOGGING=<true>

Sample Docker Compose configuration

The following code is the configuration for the Docker Compose deployment. The only change in the config.properties file is DEPLOYMENT.MODE is set to docker-compose:

# Deployment mode can be one of: docker/docker-compose/minikube
DEPLOYMENT.MODE=docker-compose

# Name and tag with which the app container image will be built
# Same name will be used as the APP_NAME for fluent bit logging
APP.DOCKER.IMAGE.NAME=<sports>
APP.DOCKER.IMAGE.TAG=<latest>

# Container image that contains JDK (compatible) in it
JDK.DOCKER.IMAGE.NAME=<adoptopenjdk>
JDK.DOCKER.IMAGE.TAG=<11.0.4_11-jdk-hotspot>
# Location/Path to JDK inside container
JDK.DOCKER.IMAGE.JAVA.LOCATION=</opt/java/openjdk>

PAS.INSTANCE.NAME=<oepas4>
PASOE.DOCKER.IMAGE.NAME=<progresssoftware/pasoe>
PASOE.DOCKER.IMAGE.TAG=<12.2.0>
# In case of kubernetes, provided port should be in the default node port range: 30000-32767
PASOE.HTTPS.PORT=<50813>

# Flag to enable fluent bit logging, defaults to true
FLUENTBIT.LOGGING=<true>

Sample Minikube configuration

To use the Minikube deploy script, make the following changes in your configuration:
  • DEPLOYMENT.MODE—Provide the deployment mode as minikube.
  • PASOE.HTTPS.PORT—Provide the port number. The number provided must be between 30000 and 32767.
# Deployment mode can be one of: docker/docker-compose/minikube
DEPLOYMENT.MODE=minikube
# Name and tag with which the app container image will be built
# Same name will be used as the APP_NAME for fluent bit logging
APP.DOCKER.IMAGE.NAME=<sports>
APP.DOCKER.IMAGE.TAG=<latest>

# Container image that contains JDK (compatible) in it
JDK.DOCKER.IMAGE.NAME=<adoptopenjdk>
JDK.DOCKER.IMAGE.TAG=<11.0.4_11-jdk-hotspot>
# Location/Path to JDK inside container
JDK.DOCKER.IMAGE.JAVA.LOCATION=</opt/java/openjdk>

PAS.INSTANCE.NAME=<oepas4>
PASOE.DOCKER.IMAGE.NAME=<progresssoftware/pasoe>
PASOE.DOCKER.IMAGE.TAG=<12.2.0>

# In case of kubernetes, provided port should be in the default node port range: 30000-32767
PASOE.HTTPS.PORT=<30813>

# Flag to enable fluent bit logging, defaults to true
FLUENTBIT.LOGGING=<true>