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:
Kevin Morris 2021-11-20 20:05:04 -08:00
parent 604901fe74
commit d4d9f50b8f
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
10 changed files with 56 additions and 57 deletions

View file

@ -8,17 +8,17 @@ services:
ca:
volumes:
- ./cache:/cache
- ./data:/data
git:
volumes:
- git_data:/aurweb/aur.git
- ./cache:/cache
- ./data:/aurweb/data
smartgit:
volumes:
- git_data:/aurweb/aur.git
- ./cache:/cache
- ./data:/data
- smartgit_run:/var/run/smartgit
depends_on:
mariadb:
@ -26,7 +26,7 @@ services:
php-fpm:
volumes:
- ./cache:/cache
- ./data:/data
- ./aurweb:/aurweb/aurweb
- ./migrations:/aurweb/migrations
- ./test:/aurweb/test
@ -37,7 +37,7 @@ services:
fastapi:
volumes:
- ./cache:/cache
- ./data:/data
- ./aurweb:/aurweb/aurweb
- ./migrations:/aurweb/migrations
- ./test:/aurweb/test
@ -49,7 +49,7 @@ services:
nginx:
volumes:
- git_data:/aurweb/aur.git
- ./cache:/cache
- ./data:/data
- ./logs:/var/log/nginx
- ./web/html:/aurweb/web/html
- ./web/template:/aurweb/web/template