fix(docker): reorg ./data mounts

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-27 21:03:24 -08:00
parent d658627e99
commit 7b0d664bc0
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 13 additions and 11 deletions

View file

@ -4,6 +4,7 @@ services:
ca:
volumes:
- data:/data
- step:/root/.step
memcached:
restart: always
@ -22,7 +23,7 @@ services:
- SSH_CMDLINE=${SSH_CMDLINE:-ssh ssh://aur@localhost:2222}
volumes:
- ${GIT_DATA_DIR}:/aurweb/aur.git
- ./data:/aurweb/data
- data:/aurweb/data
smartgit:
restart: always

View file

@ -1,6 +1,11 @@
version: "3.8"
services:
ca:
volumes:
- ./data:/data
- step:/root/.step
mariadb_init:
depends_on:
mariadb:
@ -41,3 +46,9 @@ services:
- ./web/template:/aurweb/web/template
- ./web/lib:/aurweb/web/lib
- ./templates:/aurweb/templates
nginx:
volumes:
- ./data:/data
- archives:/var/lib/aurweb/archives
- smartgit_run:/var/run/smartgit

View file

@ -33,12 +33,6 @@ services:
healthcheck:
test: "bash /docker/health/run-ca.sh"
interval: 3s
tmpfs:
- /tmp
volumes:
- ./docker:/docker
- ./data:/data
- step:/root/.step
memcached:
image: aurweb:latest
@ -269,10 +263,6 @@ services:
condition: service_healthy
php-fpm:
condition: service_healthy
volumes:
- ./data:/data
- archives:/var/lib/aurweb/archives
- smartgit_run:/var/run/smartgit
sharness:
image: aurweb:latest