Add Redis for Nextcloud.
This commit is contained in:
parent
f3982a6688
commit
2cff19e0b4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue