Django/Python integration and wrong hostname

I run my Django app within container and all reports report external URL as “localhost:8080”.

Is there configuration that I have to change to make external URL to set it correct external address?