Skip to content
Back

How to setup OpenRuntimes Proxy

  • 0
  • Self Hosted
Ibaraki Douji
24 Aug, 2025, 08:08

Hey, so i've seen on your dev docker-compose (the compose in the root folder, not the one in app/views/install), that there was an OpenRuntimes Proxy.

Since i have a cluster i wanted to know how to setup the proxy to make executors on each worker node and avoid one node to be always used by the OPR.

So i mostly wanted to know if it's possible to deploy the executors in a global way (< one replica per node) and use the DNS to find the nodes (would be tasks.appwrite_openruntimes-executor which have all A record of all executors). Like prometheus propose this : https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config

Or if i need to deploy differents replicas bound to a specific node, so i can use the hostname (comma separated exec_node1,exec_node2) like it's shown in the dev docker-compose.

TL;DR
- Developer wants to set up OpenRuntimes Proxy to distribute executors on each worker node in a cluster efficiently. - Consider using a 'global' deployment strategy with one replica per node and use DNS to locate nodes (example given: `tasks.appwrite_openruntimes-executor`). - Alternatively, deploy different replicas bound to specific nodes using hostnames (e.g., `exec_node1, exec_node2`) as shown in the provided docker-compose. - Possible solution: Use a global deployment strategy with DNS for node location, similar to Prometheus setup for executors.
Darshan Pandya
24 Aug, 2025, 08:28

cc @Meldiron

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more