Add Redis for Nextcloud.
This commit is contained in:
parent
f3982a6688
commit
2cff19e0b4
|
@ -1,12 +1,20 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: nextcloud:latest
|
||||
container_name: nextcloud
|
||||
hostname: next.ionathan.ch
|
||||
ports:
|
||||
- 8000:80
|
||||
volumes:
|
||||
- .:/var/www/html
|
||||
restart: always
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:latest
|
||||
container_name: redis
|
||||
restart: always
|
||||
app:
|
||||
image: nextcloud:latest
|
||||
container_name: nextcloud
|
||||
hostname: next.ionathan.ch
|
||||
ports:
|
||||
- 8000:80
|
||||
volumes:
|
||||
- .:/var/www/html
|
||||
restart: always
|
||||
depends_on:
|
||||
- redis
|
||||
environment:
|
||||
- REDIS_HOST=redis
|
||||
|
|
Loading…
Reference in New Issue