# Docker deployment with custom site\_settings.yml

**URL:** <https://meta.discourse.org/t/docker-deployment-with-custom-site-settings-yml/31914>\
**Category:** SSO\
**Tags:** discourseconnect\
**Created:** [August 9, 2015, 2:09am UTC](https://meta.discourse.org/t/docker-deployment-with-custom-site-settings-yml/31914 "2015-08-09T02:09:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![zingbats](https://avatars.discourse-cdn.com/v4/letter/z/a6a055/32.png) [@zingbats](https://meta.discourse.org/u/zingbats)\
**Post date:** [August 9, 2015, 2:09am UTC](https://meta.discourse.org/t/docker-deployment-with-custom-site-settings-yml/31914/1 "2015-08-09T02:09:38Z")

</div>

Hello,

I’m trying to follow the SSO instructions, which requires a site\_settings.yml customization. I’m currently deploying to production using docker using [GitHub - discourse/discourse\_docker: A Docker image for Discourse · GitHub](https://github.com/discourse/discourse_docker).

Is there a supported way to customize site\_settings.yml without breaking the whole docker deployment method?

Also, in pursuit of SSO goodness I found this plugin [GitHub - mikamai/discourse-doorkeeper-sso: authentication plugin for discourse to be used with a doorkeeper oauth provider · GitHub](https://github.com/mikamai/discourse-doorkeeper-sso)  
which requires a secret key to be installed into the plugins directory.

The only way I can see to achieve this is to add a volume to the docker container so that the discourse app lives on the host, not in the docker image. So I think that would mean /var/www/discourse needs to live on the host.

Also, is anyone doing discourse development/deployment with Docker? Anyone have a Docker-compose file they’d share?

---

_[View the full topic](https://meta.discourse.org/t/docker-deployment-with-custom-site-settings-yml/31914)._
