mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(docker): fixup and utilize AURWEB_(SSHD|FASTAPI|PHP)_PREFIX
Previously CGIT_CLONE_PREFIX_(PHP|FASTAPI), we found that we could use the same env var in multiple places, including non-cgit-clone-prefix areas. So, they were renamed, and one additional prefix was added. - CGIT_CLONE_PREFIX_PHP -> AURWEB_PHP_PREFIX - Used for cgit's clone prefix and AUR_CONFIG's aur_location for PHP - CGIT_CLONE_PREFIX_FASTAPI -> AURWEB_FASTAPI_PREFIX - Used for cgit's clone prefix and AUR_CONFIG's aur_location for FastAPI - AURWEB_SSHD_PREFIX - Used for aurweb's sshd clone prefix shown on package pages Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
1656f5824d
commit
1c0543c07e
6 changed files with 25 additions and 10 deletions
|
@ -39,6 +39,9 @@ services:
|
|||
|
||||
php-fpm:
|
||||
restart: always
|
||||
environment:
|
||||
- AURWEB_PHP_PREFIX=${AURWEB_PHP_PREFIX}
|
||||
- AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX}
|
||||
volumes:
|
||||
- cache:/cache
|
||||
|
||||
|
@ -46,6 +49,9 @@ services:
|
|||
restart: always
|
||||
environment:
|
||||
- FASTAPI_BACKEND="gunicorn"
|
||||
- FASTAPI_WORKERS=${FASTAPI_WORKERS}
|
||||
- AURWEB_FASTAPI_PREFIX=${AURWEB_FASTAPI_PREFIX}
|
||||
- AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX}
|
||||
volumes:
|
||||
- cache:/cache
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue