mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
docker: bind ./aurweb in cron service by default
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
d4d9f50b8f
commit
bc7bf9866a
2 changed files with 7 additions and 0 deletions
|
@ -41,6 +41,12 @@ services:
|
|||
volumes:
|
||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
|
||||
cron:
|
||||
volumes:
|
||||
# Exclude ./aurweb:/aurweb in production.
|
||||
- mariadb_run:/var/run/mysqld
|
||||
- archives:/var/lib/aurweb/archives
|
||||
|
||||
php-fpm:
|
||||
restart: always
|
||||
environment:
|
||||
|
|
|
@ -176,6 +176,7 @@ services:
|
|||
mariadb_init:
|
||||
condition: service_started
|
||||
volumes:
|
||||
- ./aurweb:/aurweb/aurweb
|
||||
- mariadb_run:/var/run/mysqld
|
||||
- archives:/var/lib/aurweb/archives
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue