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:
|
ca:
|
||||||
volumes:
|
volumes:
|
||||||
- data:/data
|
- data:/data
|
||||||
|
- step:/root/.step
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -22,7 +23,7 @@ services:
|
||||||
- SSH_CMDLINE=${SSH_CMDLINE:-ssh ssh://aur@localhost:2222}
|
- SSH_CMDLINE=${SSH_CMDLINE:-ssh ssh://aur@localhost:2222}
|
||||||
volumes:
|
volumes:
|
||||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||||
- ./data:/aurweb/data
|
- data:/aurweb/data
|
||||||
|
|
||||||
smartgit:
|
smartgit:
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
ca:
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- step:/root/.step
|
||||||
|
|
||||||
mariadb_init:
|
mariadb_init:
|
||||||
depends_on:
|
depends_on:
|
||||||
mariadb:
|
mariadb:
|
||||||
|
@ -41,3 +46,9 @@ services:
|
||||||
- ./web/template:/aurweb/web/template
|
- ./web/template:/aurweb/web/template
|
||||||
- ./web/lib:/aurweb/web/lib
|
- ./web/lib:/aurweb/web/lib
|
||||||
- ./templates:/aurweb/templates
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- archives:/var/lib/aurweb/archives
|
||||||
|
- smartgit_run:/var/run/smartgit
|
||||||
|
|
|
@ -33,12 +33,6 @@ services:
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "bash /docker/health/run-ca.sh"
|
test: "bash /docker/health/run-ca.sh"
|
||||||
interval: 3s
|
interval: 3s
|
||||||
tmpfs:
|
|
||||||
- /tmp
|
|
||||||
volumes:
|
|
||||||
- ./docker:/docker
|
|
||||||
- ./data:/data
|
|
||||||
- step:/root/.step
|
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
|
@ -269,10 +263,6 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
php-fpm:
|
php-fpm:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
|
||||||
- ./data:/data
|
|
||||||
- archives:/var/lib/aurweb/archives
|
|
||||||
- smartgit_run:/var/run/smartgit
|
|
||||||
|
|
||||||
sharness:
|
sharness:
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue