Reihenfolge der Container geändert. Erst nginx dann nextcloud
This commit is contained in:
parent
d512747fef
commit
6c8046c4b8
|
@ -30,6 +30,23 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- backend-nextcloud
|
- 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:
|
web:
|
||||||
image: nginx
|
image: nginx
|
||||||
ports:
|
ports:
|
||||||
|
@ -47,20 +64,3 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
restart: always
|
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
|
|
||||||
|
|
Loading…
Reference in New Issue