# Discobot, avatars, uploads include hard-code hostname in cooked

**URL:** <https://meta.discourse.org/t/discobot-avatars-uploads-include-hard-code-hostname-in-cooked/85736>\
**Category:** Migration\
**Created:** [19 באפריל,‏ 2018,‏ 5:46pm UTC](https://meta.discourse.org/t/discobot-avatars-uploads-include-hard-code-hostname-in-cooked/85736 "2018-04-19T17:46:42Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [20 באפריל,‏ 2018,‏ 2:32pm UTC](https://meta.discourse.org/t/discobot-avatars-uploads-include-hard-code-hostname-in-cooked/85736/7 "2018-04-20T14:32:07Z")

</div>

> [@gerhard](#):
>
> I’m always setting the DISCOURSE\_HOSTNAME to the correct hostname when I’m running an import within a Docker container. Is that not an option?

Doh! **That’s** what I should be doing. It somehow didn’t occur to me since it’s not the host name of the import machine. So that’s how to “force” the hostname.

> [@gerhard](#):
>
> I’m not sure about that. Imported users might also need to learn how to use Discourse

Hmm.When you say it like that, it makes me sound foolish. 😉 It’s just that with tens or hundreds of thousands of users, it makes for a big sidekiq queue. . .

---

_[View the full topic](https://meta.discourse.org/t/discobot-avatars-uploads-include-hard-code-hostname-in-cooked/85736)._
