Page 1 of 1

Activation link of registry show incorrect port of server due to docker (v2020)

Posted: Fri May 10, 2024 10:13 am
by mgqz

I have an app phpm20 that runs ok in development environment but I am deploying in a docker, that runs the server internally on port 8080 and maps to port 80 in the host server of the docker image, How do I fix this so the link goes without the 8080 port (internal) ..

I see a function FullUrl that generates the link but don't know how to setup this to work in both environments.

thanks.


Re: Activation link of registry show incorrect port of server due to docker

Posted: Fri May 10, 2024 10:15 am
by arbei

mgqz wrote:

I have an app phpm20...

Did you mean v2020? If so, it is too old. If v2024, the email template supports PHP, you may change the $ActivateLink by PHP as you need.


Re: Activation link of registry show incorrect port of server due to docker

Posted: Fri May 10, 2024 12:38 pm
by mgqz

Hello, yes is PHPM 2020, I have 2024 but have not been able migrate my app..


Re: Activation link of registry show incorrect port of server due to docker (v2020)

Posted: Fri May 10, 2024 1:33 pm
by arbei

You may search "ActivateLink" in this forum and find old topics for older versions.