# Running etcd in rancher

**URL:** <https://forums.suse.com/t/running-etcd-in-rancher/223>\
**Category:** Rancher 1.x\
**Created:** [August 7, 2015, 5:42pm UTC](https://forums.suse.com/t/running-etcd-in-rancher/223 "2015-08-07T17:42:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobowers](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tobowers/32/22_2.png) [@tobowers](https://forums.suse.com/u/tobowers)\
**Post date:** [August 7, 2015, 5:42pm UTC](https://forums.suse.com/t/running-etcd-in-rancher/223/1 "2015-08-07T17:42:01Z")

</div>

I’m curious about thoughts/best practices around running a clustered piece of software such as etcd in Rancher. Getting a docker-compose going for that was… tricky… because of the circular dependencies. [https://gist.github.com/tobowers/2bd1ebac14be0cf0a10f](https://gist.github.com/tobowers/2bd1ebac14be0cf0a10f) is what I came up with using the grand ambassador.

My thought was that I would then use a rancher-compose to swap out the ambassador with a service alias instead.

I’m just curious if there are thoughts about how to do that better.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [August 10, 2015, 2:42am UTC](https://forums.suse.com/t/running-etcd-in-rancher/223/2 "2015-08-10T02:42:17Z")

</div>

I believe the latest rancher-compose supports circular links, so you should be able to take advantage of that.

---

<div class="post-metadata">

**Author:** ![tobowers](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tobowers/32/22_2.png) [@tobowers](https://forums.suse.com/u/tobowers)\
**Post date:** [August 12, 2015, 7:46pm UTC](https://forums.suse.com/t/running-etcd-in-rancher/223/3 "2015-08-12T19:46:40Z")

</div>

But docker-compose doesn’t support circular links… so what’s the right way to have something that works locally and still works in rancher?
