mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(docker): reorg ./data mounts
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
d658627e99
commit
7b0d664bc0
3 changed files with 13 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue