
Tushar Dhaka (Progress Software) asked a question.
Using the Container Image for PAS for OpenEdge 11.7.5 with a Sample Application
Requirements:
- Docker environment
- Docker Compose
- Container Image for PASOE (See wiki page https://community.progress.com/s/question/0D54Q00007pHAYgSAO/docker-container-for-pasoe-faq)
Use the Container Image
- Clone or download the master branch of the pasoe-basic Github project.
- Change to the sample application folder:
- cd pasoe-basic/
- Update the value for serviceURI in webui/grid.js to point to your Docker host.
- Create a copy of the sports2000 database and start the database server (broker):
- prodb sports sports2000
- proserve sports -S 20000
- Copy your valid progress.cfg file into the conf directory and rename it to progress.cfg.pasoe`. This will overwrite the placeholder progress.cfg.pasoe file in that directory.
- Update the DBSERVER environment variable in the docker-compose.yaml file to point to the machine running the database server.
- Build the custom container image for the sample application:
- docker-compose build
- Start the services:
- docker-compose up -d
- Check that the PAS for OpenEdge instance starts:
- tail -f logs/catalina.out
- Access the PAS for OpenEdge instance via a web browser:
- https://<docker-host-machine>:8811/
- https://<docker-host-machine>:8811/Sports/
- https://<docker-host-machine>:8811/Sports/static/SportsService.json
- https://<docker-host-machine>:8811/Sports/rest/SportsService/Customer
- Note: By default, the PAS for OpenEdge instance will use HTTPS with a test certificate. You will need to accept access with this certificate.
- Access the web ui service via a web browser: