feat(docker): configure fastapi's commit_hash based on $COMMIT_HASH

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-10-25 15:38:51 -07:00
parent b49b629395
commit 8239dcdd1b
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
4 changed files with 7 additions and 0 deletions

View file

@ -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}