# Can't change repo in discourse docker

**URL:** https://meta.discourse.org/t/cant-change-repo-in-discourse-docker/49376
**Category:** Development
**Created:** [29.Август.2016 12:16:39 UTC](https://meta.discourse.org/t/cant-change-repo-in-discourse-docker/49376 "2016-08-29T12:16:39Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [30.Август.2016 16:22:54 UTC](https://meta.discourse.org/t/cant-change-repo-in-discourse-docker/49376/8 "2016-08-30T16:22:54Z")

</div>

In the past, I’ve done it by editing `app.yml` like this:

```yml
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/scossar/localized-categories
          - git clone https://github.com/scossar/dictionary-card-onebox
    - exec:
        cd: $home
        cmd:
         # changes start here
          - git remote remove origin
          - git config --remove-section branch.master
          - git config --remove-section branch.tests-passed
          - git remote add origin https://github.com/scossar/discourse-dev
          - git fetch
          - git remote set-branches --add origin anonymous-locale
          - git branch -u origin/anonymous-locale
          - git reset --hard origin/anonymous-locale

```

If you are only needing a plugin outlet added to Discourse you could try making a pull request to Discourse for the addition.

---

_[View the full topic](https://meta.discourse.org/t/cant-change-repo-in-discourse-docker/49376)._
