Wordpress in docker container - issue with forwarded ports

Hello. We started wordpress in the apache2 container. And forwarded port 80 to 8070 and port 443 to 8443. So to get wordpress to work I changed siteurl and home options like this

UPDATE as_options SET option_value = 'http://site:8070' WHERE option_name = 'siteurl' OR option_name = 'home'

I can access wordpress well, but when going to ssl page - there is a issue - I have page links like

https://site:8070/checkout/

that is not well . Can please someone propose a decision fir this issue ? Can I access wordpress without changing those options?

Thanks for answer