Redisserver hinzugefügt und Containerabhängigkeiten definiert

This commit is contained in:
bmen 2019-09-13 22:24:38 +02:00
parent 68f6317848
commit 2a0953ad69
1 changed files with 13 additions and 1 deletions

View File

@ -21,14 +21,24 @@ services:
- MYSQL_USER=nextcloud
container_name: nextcloud-db-bmen-cc
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:fpm
links:
- db
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
volumes:
- /opt/appdata/nextcloud/www:/var/www/html
container_name: nextcloud-bmen-cc
restart: always
depends_on:
- db
- redis
web:
image: nginx
@ -39,8 +49,10 @@ services:
networks:
- webproxy
volumes:
- /opt/appdata/nextcloud/nginx:/etc/nginx
- /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf
volumes_from:
- app
container_name: nextcloud-nginx-bmen-cc
depends_on:
- app
restart: always