Redisserver hinzugefügt und Containerabhängigkeiten definiert
This commit is contained in:
parent
68f6317848
commit
2a0953ad69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue