mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Docker: add service 'memcached'
Additionally, setup memcached for php-fpm. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
ae0f69a5e4
commit
35851d5533
6 changed files with 24 additions and 1 deletions
|
@ -29,6 +29,13 @@ services:
|
|||
volumes:
|
||||
- ./cache:/cache
|
||||
|
||||
memcached:
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
command: /docker/scripts/run-memcached.sh
|
||||
healthcheck:
|
||||
test: "bash /docker/health/memcached.sh"
|
||||
|
||||
mariadb:
|
||||
image: aurweb:latest
|
||||
init: true
|
||||
|
@ -136,6 +143,8 @@ services:
|
|||
condition: service_healthy
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
memcached:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- mariadb_run:/var/run/mysqld # Bind socket in this volume.
|
||||
- mariadb_data:/var/lib/mysql
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue