File tree 1 file changed +3
-15
lines changed
1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,7 @@ services:
29
29
- PORT=8081
30
30
- ENVIRONMENT=local
31
31
# https://github.com/tiangolo/uvicorn-gunicorn-docker#web_concurrency
32
- - WEB_CONCURRENCY=10
33
- # https://github.com/tiangolo/uvicorn-gunicorn-docker#workers_per_core
34
- # - WORKERS_PER_CORE=1
35
- # https://github.com/tiangolo/uvicorn-gunicorn-docker#max_workers
36
- # - MAX_WORKERS=10
32
+ - WEB_CONCURRENCY=${WEB_CONCURRENCY:-10}
37
33
# Postgres connection
38
34
- POSTGRES_USER=username
39
35
- POSTGRES_PASS=password
@@ -74,11 +70,7 @@ services:
74
70
- HOST=0.0.0.0
75
71
- PORT=8082
76
72
# https://github.com/tiangolo/uvicorn-gunicorn-docker#web_concurrency
77
- - WEB_CONCURRENCY=1
78
- # https://github.com/tiangolo/uvicorn-gunicorn-docker#workers_per_core
79
- - WORKERS_PER_CORE=1
80
- # https://github.com/tiangolo/uvicorn-gunicorn-docker#max_workers
81
- - MAX_WORKERS=10
73
+ - WEB_CONCURRENCY=${WEB_CONCURRENCY:-10}
82
74
# Postgres connection
83
75
- POSTGRES_USER=username
84
76
- POSTGRES_PASS=password
@@ -127,11 +119,7 @@ services:
127
119
- HOST=0.0.0.0
128
120
- PORT=8083
129
121
# https://github.com/tiangolo/uvicorn-gunicorn-docker#web_concurrency
130
- - WEB_CONCURRENCY=10
131
- # https://github.com/tiangolo/uvicorn-gunicorn-docker#workers_per_core
132
- # - WORKERS_PER_CORE=1
133
- # https://github.com/tiangolo/uvicorn-gunicorn-docker#max_workers
134
- # - MAX_WORKERS=10
122
+ - WEB_CONCURRENCY=${WEB_CONCURRENCY:-10}
135
123
# Postgres connection
136
124
- POSTGRES_USER=username
137
125
- POSTGRES_PASS=password
You can’t perform that action at this time.
0 commit comments