mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-07-23 13:21:43 +02:00
Add redis cache container
This commit is contained in:
@@ -13,6 +13,10 @@ services:
|
||||
cap_add:
|
||||
- SYS_NICE
|
||||
|
||||
redis:
|
||||
container_name: cc-redis
|
||||
image: redis
|
||||
|
||||
php:
|
||||
container_name: cc-php
|
||||
build:
|
||||
@@ -33,6 +37,7 @@ services:
|
||||
- ${DATADIR}/job-archive:/var/lib/job-archive:cached
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
||||
nginx:
|
||||
container_name: cc-nginx
|
||||
@@ -54,3 +59,4 @@ services:
|
||||
- NGINX_SYMFONY_SERVER_NAME=${NGINX_SYMFONY_SERVER_NAME}
|
||||
volumes:
|
||||
- ${DATADIR}/symfony:/var/www/symfony:cached
|
||||
|
||||
|
Reference in New Issue
Block a user