# 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:** 6

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [19 באפריל,‏ 2018,‏ 11:34pm UTC](https://meta.discourse.org/t/discobot-avatars-uploads-include-hard-code-hostname-in-cooked/85736/6 "2018-04-19T23:34:29Z")

</div>

> [@pfaffman](#):
>
> This is in production mode

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?

> [@pfaffman](#):
>
> I think that discobot should be disabled by default on imports.

I’m not sure about that. Imported users might also need to learn how to use Discourse…

---

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