The real McCoy: Using Mariadb
SQLite is not appropriate for (larger) production systems. We thus replace it by a mariadb service.
-
Drop the existing containers among with their volumes.
-
Follow
https://github.com/nextcloud/docker#user-content-base-version---apache
. Create the proposeddocker-compose.yml
file. Enter require credentials and start the container using docker-composeup
. -
This time we choose Mariadb as database server. Connect to
http://localhost:8080
again. Use the database server's container name as hostname parameter allowing the nextcloud container to access the mariadb service. Then fill in the remaining required connection parameter values. -
Now configure
ldap://ldap1.hdm-stuttgart.de
as your credential provider like you did in your regular Nextcloud installation before. The log in using your regular credentials.