The real McCoy: Using Mariadb

SQLite is not appropriate for (larger) production systems. We thus replace it by a mariadb service.

  1. Drop the existing containers among with their volumes.

  2. Follow https://github.com/nextcloud/docker#user-content-base-version---apache. Create the proposed docker-compose.yml file. Enter require credentials and start the container using docker-compose up.

  3. 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.

  4. 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.