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

Unable to change Store base url (domain) in Admin portal #898

Open
nadia-bodnarchuk92 opened this issue Mar 18, 2023 · 1 comment
Open

Comments

@nadia-bodnarchuk92
Copy link

Hi guys,
I have Shopizer docker image is up and running in VM.
I have an issue, when images are failed to be loaded due to Shopizer makes GET request to localhost, not virtual machine external IP.
http://localhost:8080/static/products/DEFAULT/374391/SMALL/image81730.jpg - it fails due to ERR_CONNECTION_REFUSED and image shown as broken:
image

I would expect to see http://${VM_EXTERNAL_IP}:8080/static/products/DEFAULT/374391/SMALL/image81730.jpg
I made some research of how I can fix this.
Here #598 (comment) guys recommending to change Store base url (domain) in Admin portal.
But I don't have such field in my Admin:
image

Can you please suggest where I can change Store base url from localhost to external VM IP?
Thank you in advance.

@Nishanka-HP
Copy link

Issue solved regarding store based url ERR_CONNECTION_REFUSED
step 1 : Keep up and running the docker backend by using this comments
docker run
-e "APP_BASE_URL=http://localhost:8080/api"
-p 82:80 shopizerecomm/shopizer-admin

step 2:keep running the frontend by this commends
docker run
-e "APP_MERCHANT=DEFAULT"
-e "APP_BASE_URL=http://localhost:8080"
-p 80:80 shopizerecomm/shopizer-shop-reactjs
step 3: Go to browser and ru the front end
Screenshot (133)
Screenshot (133)

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

2 participants