mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
feat: add rolling updates for production deployment (#175)
* feat: rolling update uvicorn workers * script fixes
This commit is contained in:
parent
ad6261333d
commit
aed5a782fb
10 changed files with 785 additions and 497 deletions
7
nginx/dograh_upstream.conf.template
Normal file
7
nginx/dograh_upstream.conf.template
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# AUTO-GENERATED by start_services.sh / rolling_update.sh
|
||||
# Do not edit the generated file directly - edit this template instead.
|
||||
upstream dograh_backend {
|
||||
least_conn;
|
||||
|
||||
{{UVICORN_UPSTREAM_SERVERS}}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue