Following @pfaffman’s link I realized that I used DISCOURSE_HOST instead of DISCOURSE_HOSTNAME.
@neounix’s useful investigation tips did not yield any result, so I expect the first issue to lead to the current situation. I’m rebuilding the container to see…
Container rebuilt and links show formerly broken pictures, so I guess it’s solved. Thank you both!