I am having the same issue.
Can't reach '/uploads/default/original/1X/fe2af548af4a22f4802ddaa54afa557ae557417c.png' to get its dimension.
I can access the picture from the outside, but not within the Docker image.
root@dk1-dis:/shared/log/rails# wget https://dis.domain.com/uploads/default/original/1X/b2ef855c010c044aee13177269baaa36453c6193.png
--2020-07-04 14:53:33-- https://dis.domain.com/uploads/default/original/1X/b2ef855c010c044aee13177269baaa36453c6193.png
Resolving dis.domain.com (dis.domain.com)... 172.20.0.6
Connecting to dis.domain.com (dis.domain.com)|172.20.0.6|:443... failed: Connection refused.
The DNS inside the Docker image points to its internal IP address 172.20.0.6
from the Docker network and not to its external public IP address for what the domain is actually set to.
root@dk1-dis:/shared/log/rails# nslookup dis.domain.com
Server: 127.0.0.11
Address: 127.0.0.11#53
Non-authoritative answer:
Name: dis.domain.com
Address: 172.20.0.6
Is this the way how it should be?
What can I do to change it that it resolves it with its regular public IP address?