1
0
Fork 0

Add Redis for Nextcloud.

This commit is contained in:
Jonathan Chan 2023-07-16 02:28:13 +02:00
parent f3982a6688
commit 2cff19e0b4
1 changed files with 20 additions and 12 deletions

View File

@ -1,6 +1,10 @@
version: '2' version: '2'
services: services:
redis:
image: redis:latest
container_name: redis
restart: always
app: app:
image: nextcloud:latest image: nextcloud:latest
container_name: nextcloud container_name: nextcloud
@ -10,3 +14,7 @@ services:
volumes: volumes:
- .:/var/www/html - .:/var/www/html
restart: always restart: always
depends_on:
- redis
environment:
- REDIS_HOST=redis