mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
72 lines
1.3 KiB
YAML
72 lines
1.3 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
ca:
|
|
volumes:
|
|
- cache:/cache
|
|
|
|
memcached:
|
|
restart: always
|
|
|
|
redis:
|
|
restart: always
|
|
|
|
mariadb:
|
|
restart: always
|
|
|
|
git:
|
|
restart: always
|
|
volumes:
|
|
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
|
- cache:/cache
|
|
|
|
smartgit:
|
|
restart: always
|
|
volumes:
|
|
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
|
- cache:/cache
|
|
- smartgit_run:/var/run/smartgit
|
|
|
|
cgit-php:
|
|
restart: always
|
|
volumes:
|
|
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
|
|
|
cgit-fastapi:
|
|
restart: always
|
|
volumes:
|
|
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
|
|
|
php-fpm:
|
|
restart: always
|
|
environment:
|
|
- AURWEB_PHP_PREFIX=${AURWEB_PHP_PREFIX}
|
|
- AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX}
|
|
volumes:
|
|
- cache:/cache
|
|
|
|
fastapi:
|
|
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
|
|
|
|
nginx:
|
|
restart: always
|
|
volumes:
|
|
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
|
- cache:/cache
|
|
- logs:/var/log/nginx
|
|
- smartgit_run:/var/run/smartgit
|
|
|
|
volumes:
|
|
mariadb_run: {} # Share /var/run/mysqld
|
|
mariadb_data: {} # Share /var/lib/mysql
|
|
git_data: {} # Share aurweb/aur.git
|
|
smartgit_run: {}
|
|
cache: {}
|
|
logs: {}
|