Hello there,
I try really hard to install Nextcloud via Docker and I try to follow the tutorials as good as I can. Right now I can’t run Nextcloud, because it gets stuck at initialization. However this only happens for Nextcloud when I map volumes. This only happens to Nextcloud. Mariadb runs fun. Here is the .yml that I use. Do you have any ideas on how to fix this? The paths are already added in dockers file sharing settings and the Nextcloud files get created though.
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=AROOTPASSWORD
- MYSQL_PASSWORD=APASSWORD
- MYSQL_DATABASE=NEXTCLOUD
- MYSQL_USER=NEXTCLOUD
app:
image: nextcloud
restart: always
ports:
- 8080:80
links:
- db
volumes:
- E:\:/var/www/html
- D:\:/mnt
environment:
- MYSQL_PASSWORD=APASSWORD
- MYSQL_DATABASE=NEXTCLOUD
- MYSQL_USER=NEXTCLOUD
- MYSQL_HOST=db