Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change PS_SHOP_DOMAIN #361

Open
qiaofeng1227 opened this issue Jan 23, 2024 · 0 comments
Open

how to change PS_SHOP_DOMAIN #361

qiaofeng1227 opened this issue Jan 23, 2024 · 0 comments

Comments

@qiaofeng1227
Copy link

qiaofeng1227 commented Jan 23, 2024

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  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant