Commit 7edc016a authored by Chase Qi's avatar Chase Qi
Browse files

server: define variable GUNICORN_BIND for 2022.02 and newer releases


Signed-off-by: Chase Qi's avatarChase Qi <chase.qi@linaro.org>
parent 180549f3
......@@ -57,6 +57,10 @@ services:
- lava-coordinator
environment:
SERVICES: "gunicorn"
# Since release 2022.02, naming of environmental variables for gunicorn
# arguments is unified with prefix 'GUNICORN_'.
GUNICORN_BIND: "--bind lava-server:8000"
# Keep the old variable so that it is backwards compatible.
BIND: "--bind lava-server:8000"
LAVA_ADMIN_USERNAME: "${DC_LAVA_ADMIN_USERNAME}"
LAVA_ADMIN_PASSWORD: "${DC_LAVA_ADMIN_PASSWORD}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment