# Custom Docker-Discourse bootstrapping from private GIT repository

**URL:** <https://meta.discourse.org/t/custom-docker-discourse-bootstrapping-from-private-git-repository/30822>\
**Category:** Self-hosting\
**Created:** [2015 年 7 月 6 日午後 12:34 UTC](https://meta.discourse.org/t/custom-docker-discourse-bootstrapping-from-private-git-repository/30822 "2015-07-06T12:34:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2015 年 7 月 7 日午後 5:32 UTC](https://meta.discourse.org/t/custom-docker-discourse-bootstrapping-from-private-git-repository/30822/4 "2015-07-07T17:32:21Z")

</div>

You could use a file: directive to drop the private key file into the container.

Also, you _are_ using a deploy (read-only) key, right?

---

_[View the full topic](https://meta.discourse.org/t/custom-docker-discourse-bootstrapping-from-private-git-repository/30822)._
