# Какова цель переменной окружения DISCOURSE\_HOSTNAME?

**URL:** <https://meta.discourse.org/t/whats-the-purpose-of-discourse-hostname-env/188140>\
**Category:** Self-hosting\
**Created:** [26.Апрель.2021 13:05:28 UTC](https://meta.discourse.org/t/whats-the-purpose-of-discourse-hostname-env/188140 "2021-04-26T13:05:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [26.Апрель.2021 17:29:49 UTC](https://meta.discourse.org/t/whats-the-purpose-of-discourse-hostname-env/188140/4 "2021-04-26T17:29:49Z")

</div>

> [@Marcin\_J](#):
>
> Зачем нужен `--mac-address`?

Последовательные MAC-адреса в контейнерах обеспечат нам [последовательные IPv6-адреса контейнеров](https://www.youtube.com/watch?v=eF50OxZ5u4o), что полезно при замене контейнеров во время развёртывания.

Мне _кажется_, что он не используется ни для чего другого.

Вы можете пропустить его, если он вам не нужен.

---

_[View the full topic](https://meta.discourse.org/t/whats-the-purpose-of-discourse-hostname-env/188140)._
