mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
change(docker): use ./data instead of ./cache
For the `git` service, ./data is always used to provide an optional overriding of ssh host keys. In aur-dev production containers, most services which use the data mount use an internal Docker `data` volume instead. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
604901fe74
commit
d4d9f50b8f
10 changed files with 56 additions and 57 deletions
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||
services:
|
||||
ca:
|
||||
volumes:
|
||||
- cache:/cache
|
||||
- data:/data
|
||||
|
||||
memcached:
|
||||
restart: always
|
||||
|
@ -23,13 +23,12 @@ services:
|
|||
volumes:
|
||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
- ./data:/aurweb/data
|
||||
- cache:/cache
|
||||
|
||||
smartgit:
|
||||
restart: always
|
||||
volumes:
|
||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
- cache:/cache
|
||||
- data:/data
|
||||
- smartgit_run:/var/run/smartgit
|
||||
|
||||
cgit-php:
|
||||
|
@ -48,7 +47,7 @@ services:
|
|||
- AURWEB_PHP_PREFIX=${AURWEB_PHP_PREFIX}
|
||||
- AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX}
|
||||
volumes:
|
||||
- cache:/cache
|
||||
- data:/data
|
||||
|
||||
fastapi:
|
||||
restart: always
|
||||
|
@ -60,13 +59,13 @@ services:
|
|||
- AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX}
|
||||
- PROMETHEUS_MULTIPROC_DIR=/tmp_prometheus
|
||||
volumes:
|
||||
- cache:/cache
|
||||
- data:/data
|
||||
|
||||
nginx:
|
||||
restart: always
|
||||
volumes:
|
||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
- cache:/cache
|
||||
- data:/data
|
||||
- logs:/var/log/nginx
|
||||
- smartgit_run:/var/run/smartgit
|
||||
|
||||
|
@ -75,5 +74,5 @@ volumes:
|
|||
mariadb_data: {} # Share /var/lib/mysql
|
||||
git_data: {} # Share aurweb/aur.git
|
||||
smartgit_run: {}
|
||||
cache: {}
|
||||
data: {}
|
||||
logs: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue