# D'où vient %{base\_url} ?

**URL:** <https://meta.discourse.org/t/where-is-base-url-coming-from/263073>\
**Category:** Self-hosting\
**Tags:** unsupported-install, docker\
**Created:** [Avril 27, 2023, 12:16 UTC](https://meta.discourse.org/t/where-is-base-url-coming-from/263073 "2023-04-27T12:16:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![di-rect](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/di-rect/32/304372_2.png) [@di-rect](https://meta.discourse.org/u/di-rect)\
**Post date:** [Avril 27, 2023, 12:16 UTC](https://meta.discourse.org/t/where-is-base-url-coming-from/263073/1 "2023-04-27T12:16:28Z")

</div>

Salut à tous,

J’exécute un conteneur Discourse en utilisant l’image Bitnami. Le problème que je rencontre est que tous les modèles utilisent [example.com](http://example.com) pour la variable %{base\_url} et je ne semble pas pouvoir changer cela.

J’ai créé un ticket de support chez Bitnami mais en cherchant, je n’ai jamais rien trouvé sur Internet concernant la variable base\_url.

> <https://github.com/bitnami/containers/issues/31597>
>
> \### Platform
> 
> Installers
> 
> \### bndiagnostic ID \[know more about bndiagnostic ID\](…https://docs.bitnami.com/general/how-to/understand-bndiagnostic/)
> 
> none
> 
> \### bndiagnostic output
> 
> \_No response\_
> 
> \### bndiagnostic was not useful. Could you please tell us why?
> 
> I don't know
> 
> \### Describe your issue as much as you can
> 
> Hi,
> 
> Using the Discourse image base\_url in e-mail templates is still example.com and I don't see which ENV should be used to set this.
> 
> Can anyone describe how base\_url is set within Discourse using the Bitnami image ?
> 
> Thanks!

Quelqu’un peut-il m’aider à clarifier cela ? Je suis très confus à propos de cette variable.

---

_[View the full topic](https://meta.discourse.org/t/where-is-base-url-coming-from/263073)._
