+1 (855) 920-2583
Login

[APS] [docker] Is it possible to change applicationPort in deploment.xml file?

Modified on: Fri, 17 Nov 2023 12:07 PM
Original Publishing Date:
2020-01-22

Question

I am using the guide https://doc.apsstandard.org/7.1/apps/proc/event/deploy/ to create a docker image. Is it possible to change applicationPort and applicationUrlPath in deployment.xml file to something else?

Answer

Yes, it can be done, but it is also necessary to change these values in all other files in docker-image folder where it is mentioned.

In case of standard image applicationPort should be also changed here:

[root@endpoint ~]# grep -ri 1443 ./*
./deploy-image/etc/httpd/conf.d/aps-php-runtime.conf:Listen 1443
./deploy-image/etc/httpd/conf.d/aps-php-runtime.conf:<VirtualHost *:1443>
./deploy-image/Dockerfile:EXPOSE 1443

applicationUrlPath should be changed in one file:

./deploy-image/etc/httpd/conf.d/aps-php-runtime.conf.d/endpoint.conf

Internal content