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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue