Multiple Bench Instance

I’m also using it for development.

Production environment I haven’t tried.
What I can think of is setting up production benches and linking config files as per the bench names.

https://frappe.github.io/frappe/user/en/bench/guides/setup-production.html

e.g. for supervisor setup

cd ~/frappe-bench-master
bench setup supervisor
sudo ln -s `pwd`/config/supervisor.conf /etc/supervisor/conf.d/frappe-bench-master.conf

cd ~/frappe-bench-develop
bench setup supervisor 
sudo ln -s `pwd`/config/supervisor.conf /etc/supervisor/conf.d/frappe-bench-develop.conf

repeat this with nginx

For setting up multiple benches this I used :

bench init frappe-bench-1
bench init frappe-bench-2
bench init frappe-bench-3
3 Likes