-
Notifications
You must be signed in to change notification settings - Fork 948
Description
When installing Saleor via Docker on Ubuntu 20 it does not load product images.
The only changes made were to the docker-compose.yml file
-
DASHBOARD_URL=http://216.238.116.173:9000/
-ALLOWED_HOSTS=localhost,api,216.238.116.173 -
MEDIA_URL=http://216.238.116.173:8000/media/
dashboard:
environment:
- API_URL=http://216.238.116.173:8000/graphql/
Even making changes to the Dashboard URL, the images still have "localhost:8000".
When you click on get image link, it looks like this http://localhost:8000/thumbnail/UHJvZHVjdE1lZGlhOjM4/4096/.

When I open the link in the browser and replace localhost with my IP, the image loads, and when I return to Saleor, it is there.

Only when opening the image link on another page and changing localhost to the IP does the image load, when I go back to Saleor and reload it, the image appears.
Could it be some kind of cache error?

