Reihenfolge der Container geändert. Nginx wird nun vor nextcloud geladen

This commit is contained in:
bmen 2019-09-13 22:30:33 +02:00
parent 2a0953ad69
commit 259a34f4ba
1 changed files with 15 additions and 15 deletions

View File

@ -25,21 +25,6 @@ services:
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
ports:
@ -56,3 +41,18 @@ services:
depends_on:
- app
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