Reihenfolge der Container geändert. Erst nginx dann nextcloud

This commit is contained in:
bmen 2019-09-13 23:22:15 +02:00
parent d512747fef
commit 6c8046c4b8
1 changed files with 18 additions and 18 deletions

View File

@ -30,6 +30,23 @@ services:
networks:
- backend-nextcloud
app:
image: nextcloud:fpm
links:
- db
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
networks:
- backend-nextcloud
volumes:
- /opt/appdata/nextcloud/www:/var/www/html
container_name: nextcloud-bmen-cc
restart: always
depends_on:
- db
- redis
web:
image: nginx
ports:
@ -47,20 +64,3 @@ services:
depends_on:
- app
restart: always
app:
image: nextcloud:fpm
links:
- db
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
networks:
- backend-nextcloud
volumes:
- /opt/appdata/nextcloud/www:/var/www/html
container_name: nextcloud-bmen-cc
restart: always
depends_on:
- db
- redis