mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Docker: add ./templates volume mount
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
df161ef38e
commit
61c473405f
1 changed files with 6 additions and 3 deletions
|
@ -117,6 +117,7 @@ services:
|
||||||
- ./migrations:/aurweb/migrations
|
- ./migrations:/aurweb/migrations
|
||||||
- ./test:/aurweb/test
|
- ./test:/aurweb/test
|
||||||
- ./web:/aurweb/web
|
- ./web:/aurweb/web
|
||||||
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
fastapi:
|
fastapi:
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
|
@ -148,6 +149,7 @@ services:
|
||||||
- ./migrations:/aurweb/migrations
|
- ./migrations:/aurweb/migrations
|
||||||
- ./test:/aurweb/test
|
- ./test:/aurweb/test
|
||||||
- ./web:/aurweb/web
|
- ./web:/aurweb/web
|
||||||
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
|
@ -178,9 +180,6 @@ services:
|
||||||
- git_data:/aurweb/aur.git
|
- git_data:/aurweb/aur.git
|
||||||
- ./cache:/cache
|
- ./cache:/cache
|
||||||
- ./logs:/var/log/nginx
|
- ./logs:/var/log/nginx
|
||||||
- ./aurweb:/aurweb/aurweb
|
|
||||||
- ./migrations:/aurweb/migrations
|
|
||||||
- ./test:/aurweb/test
|
|
||||||
- ./web:/aurweb/web
|
- ./web:/aurweb/web
|
||||||
|
|
||||||
sharness:
|
sharness:
|
||||||
|
@ -204,6 +203,7 @@ services:
|
||||||
- ./migrations:/aurweb/migrations
|
- ./migrations:/aurweb/migrations
|
||||||
- ./test:/aurweb/test
|
- ./test:/aurweb/test
|
||||||
- ./web:/aurweb/web
|
- ./web:/aurweb/web
|
||||||
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
pytest-mysql:
|
pytest-mysql:
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
|
@ -230,6 +230,7 @@ services:
|
||||||
- ./migrations:/aurweb/migrations
|
- ./migrations:/aurweb/migrations
|
||||||
- ./test:/aurweb/test
|
- ./test:/aurweb/test
|
||||||
- ./web:/aurweb/web
|
- ./web:/aurweb/web
|
||||||
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
pytest-sqlite:
|
pytest-sqlite:
|
||||||
image: aurweb:latest
|
image: aurweb:latest
|
||||||
|
@ -248,6 +249,7 @@ services:
|
||||||
- ./migrations:/aurweb/migrations
|
- ./migrations:/aurweb/migrations
|
||||||
- ./test:/aurweb/test
|
- ./test:/aurweb/test
|
||||||
- ./web:/aurweb/web
|
- ./web:/aurweb/web
|
||||||
|
- ./templates:/aurweb/templates
|
||||||
depends_on:
|
depends_on:
|
||||||
git:
|
git:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
@ -276,6 +278,7 @@ services:
|
||||||
- ./migrations:/aurweb/migrations
|
- ./migrations:/aurweb/migrations
|
||||||
- ./test:/aurweb/test
|
- ./test:/aurweb/test
|
||||||
- ./web:/aurweb/web
|
- ./web:/aurweb/web
|
||||||
|
- ./templates:/aurweb/templates
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mariadb_run: {} # Share /var/run/mysqld/mysqld.sock
|
mariadb_run: {} # Share /var/run/mysqld/mysqld.sock
|
||||||
|
|
Loading…
Add table
Reference in a new issue