# Temporal multi-role setup with docker-compose

**URL:** https://community.temporal.io/t/temporal-multi-role-setup-with-docker-compose/9037
**Category:** Server Deployment
**Tags:** replication, multicluster, deployment, server
**Created:** [August 1, 2023, 11:58am UTC](https://community.temporal.io/t/temporal-multi-role-setup-with-docker-compose/9037 "2023-08-01T11:58:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![KaranJ](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/karanj/32/3774_2.png) [@KaranJ](https://community.temporal.io/u/KaranJ)
#### Post date: [August 1, 2023, 11:58am UTC](https://community.temporal.io/t/temporal-multi-role-setup-with-docker-compose/9037/1 "2023-08-01T11:58:59Z")

</div>

We have done service wise Temporal setup (history, matching, frontend, worker) by following the below URL:

> **[GitHub - tsurdilo/my-temporal-dockercompose: my custom docker compose for...](https://github.com/tsurdilo/my-temporal-dockercompose/tree/main)**
>
> main

so, we have kept template/my\_config\_template.yaml on host machine, is it correct approach?considering if we want to upgrade version in future.

---

<div class="post-metadata">

### Author: ![KaranJ](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/karanj/32/3774_2.png) [@KaranJ](https://community.temporal.io/u/KaranJ)
#### Post date: [August 8, 2023, 4:58am UTC](https://community.temporal.io/t/temporal-multi-role-setup-with-docker-compose/9037/2 "2023-08-08T04:58:09Z")

</div>

any updates above query

---

<div class="post-metadata">

### Author: ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)
#### Post date: [August 9, 2023, 10:22pm UTC](https://community.temporal.io/t/temporal-multi-role-setup-with-docker-compose/9037/4 "2023-08-09T22:22:28Z")

</div>

If you use custom template you would need to check it on version upgrades (if it’s still compatible with new release). You can compare it with your releases default [here](https://github.com/temporalio/temporal/blob/main/docker/config_template.yaml)
