docker: bind ./aurweb in cron service by default

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-21 00:48:53 -08:00
parent d4d9f50b8f
commit bc7bf9866a
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 7 additions and 0 deletions

View file

@ -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:

View file

@ -176,6 +176,7 @@ services:
mariadb_init:
condition: service_started
volumes:
- ./aurweb:/aurweb/aurweb
- mariadb_run:/var/run/mysqld
- archives:/var/lib/aurweb/archives