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,12 +1,20 @@
version: '2' version: '2'
services: services:
app: redis:
image: nextcloud:latest image: redis:latest
container_name: nextcloud container_name: redis
hostname: next.ionathan.ch restart: always
ports: app:
- 8000:80 image: nextcloud:latest
volumes: container_name: nextcloud
- .:/var/www/html hostname: next.ionathan.ch
restart: always ports:
- 8000:80
volumes:
- .:/var/www/html
restart: always
depends_on:
- redis
environment:
- REDIS_HOST=redis