I use prestashop image, PS_ The value of DOMAIN is the domain name to start the container, and accessing everything is normal.
I changed the domain name to IP: PORT for access. I entered the preview container and executed "PHP bin/console preview: config set PS-SHOP_DOMAIN -- value=ip: port". I found that the database value had been modified, but ip: port could not access it? auto go to domain in the browser.
root@01122ebef278:/var/www/html# php bin/console prestashop:config get PS_SHOP_DOMAIN
[OK] PS_SHOP_DOMAIN=47.76.130.106:9111
I use prestashop image, PS_ The value of DOMAIN is the domain name to start the container, and accessing everything is normal.
I changed the domain name to IP: PORT for access. I entered the preview container and executed "PHP bin/console preview: config set PS-SHOP_DOMAIN -- value=ip: port". I found that the database value had been modified, but ip: port could not access it? auto go to domain in the browser.