mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(docker): configure fastapi's commit_hash based on $COMMIT_HASH
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
b49b629395
commit
8239dcdd1b
4 changed files with 7 additions and 0 deletions
|
@ -48,6 +48,7 @@ services:
|
|||
fastapi:
|
||||
restart: always
|
||||
environment:
|
||||
- COMMIT_HASH=$COMMIT_HASH
|
||||
- FASTAPI_BACKEND="gunicorn"
|
||||
- FASTAPI_WORKERS=${FASTAPI_WORKERS}
|
||||
- AURWEB_FASTAPI_PREFIX=${AURWEB_FASTAPI_PREFIX}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue