Change port after instalation

Is it possible to change the port after Installation?

during the instalation I had tried to change the port, but he stayed at port 80, the port 80 but we need for the Apache server

Yes you can change it at any time.

You’ll need to down your existing containers, and then bring up new ones on the ports you want, using the cms_custom-ports.yml file.

So for example:

docker-compose down

Copy cms_custom-ports.yml.template file to cms_custom-ports.yml, edit it to use the ports you want, and then finally

docker-compose -f cms_custom-ports.yml up -d

Remember from this point on, any command using docker-compose will need the -f cms_custom-ports.yml added to it to work, eg

docker-compose -f cms_custom-ports.yml down