# Bootstrapping a discourse docker image with SSO URL as environment variable

**URL:** <https://meta.discourse.org/t/bootstrapping-a-discourse-docker-image-with-sso-url-as-environment-variable/85107>\
**Category:** SSO\
**Created:** [April 11, 2018, 7:05pm UTC](https://meta.discourse.org/t/bootstrapping-a-discourse-docker-image-with-sso-url-as-environment-variable/85107 "2018-04-11T19:05:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![shahidmir](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@shahidmir](https://meta.discourse.org/u/shahidmir)\
**Post date:** [April 11, 2018, 7:05pm UTC](https://meta.discourse.org/t/bootstrapping-a-discourse-docker-image-with-sso-url-as-environment-variable/85107/1 "2018-04-11T19:05:11Z")

</div>

Hi

Is it possible to set the SSO url in the docker build file (YAML file) for discourse, as opposed to using console scripts or via the discourse dashboard once deployed?

I have seen articles on this site mentioning other ways of doing it, but I would like to know if this is possible via the config files and at stage the docker image is created.

Regards

---

_[View the full topic](https://meta.discourse.org/t/bootstrapping-a-discourse-docker-image-with-sso-url-as-environment-variable/85107)._
