From 259a34f4bada6e51b5c8279235d569b4e94f14e3 Mon Sep 17 00:00:00 2001 From: bmen Date: Fri, 13 Sep 2019 22:30:33 +0200 Subject: [PATCH] =?UTF-8?q?Reihenfolge=20der=20Container=20ge=C3=A4ndert.?= =?UTF-8?q?=20Nginx=20wird=20nun=20vor=20nextcloud=20geladen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7e3d015..9f3a084 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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