Redisserver hinzugefügt und Containerabhängigkeiten definiert
This commit is contained in:
parent
68f6317848
commit
2a0953ad69
|
@ -21,14 +21,24 @@ services:
|
||||||
- MYSQL_USER=nextcloud
|
- MYSQL_USER=nextcloud
|
||||||
container_name: nextcloud-db-bmen-cc
|
container_name: nextcloud-db-bmen-cc
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:alpine
|
||||||
|
restart: always
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: nextcloud:fpm
|
image: nextcloud:fpm
|
||||||
links:
|
links:
|
||||||
- db
|
- db
|
||||||
|
environment:
|
||||||
|
- MYSQL_HOST=db
|
||||||
|
- REDIS_HOST=redis
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/appdata/nextcloud/www:/var/www/html
|
- /opt/appdata/nextcloud/www:/var/www/html
|
||||||
container_name: nextcloud-bmen-cc
|
container_name: nextcloud-bmen-cc
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: nginx
|
image: nginx
|
||||||
|
@ -39,8 +49,10 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- webproxy
|
- webproxy
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/appdata/nextcloud/nginx:/etc/nginx
|
- /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- app
|
- app
|
||||||
container_name: nextcloud-nginx-bmen-cc
|
container_name: nextcloud-nginx-bmen-cc
|
||||||
|
depends_on:
|
||||||
|
- app
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Reference in New Issue