Well here's good news
@Rusty &
@Shadow, Nextcloud is up and running!
Obvs, a couple of hiccups on the way but it works. Here's my observations. I did all of this in the Synology Docker GUI. No command line trickery here.
MariaDB was installed first (thanks for the confirmation
@Shadow) where I used the Environment Variable to create the MYSQL_ROOT_PASSWORD, a MYSQL_DATABASE, MYSQL_USER and MYSQL_PASSWORD for Nextcloud. Local Port 3306 points top Container Port 3306. I created a folder, docker/mariadb and added /var/lib/mysql to save the data there.
phpMyAdmin was a bit tricky but
@Shadow's attempts helped out. All I added to Environment was the PMA_HOST and PMA_PORT. Local Port 8081 points to Container Port 80 and as yet - but do tell me if I should - I don't have the data being store in my Docker folder. phpMyAdmin seems to suggest any preference changes I make won't be saved, I guess thats why? After a couple of failed attempts I was able to log in using the MYSQL_ROOT_PASSWORD.
A bit harder to get Nextcloud going compared with yesterday when I had it first time (but using SQLite). At first I created folders in docker/nextcloud for the /data and /config. According to the
Docker/Nextcloud docs I can add
- /var/www/html Main folder, needed for updating
- /var/www/html/custom_apps installed / modified apps
- /var/www/html/config local configuration
- /var/www/html/data the actual data of your Nextcloud
- /var/www/html/themes/<YOU_CUSTOM_THEME> theming/branding
so that suggested I should also have docker/nextcloud -> /var/www/html in which case maybe I don't need to add docker/nextcloud/config -> /var/www/html/config or docker/nextcloud/data -> /var/www/html/data because Nextcloud creates lots of folders in docker/nextcould on first run. And that seems to have worked, I can see data for the Nextcloud user in that user's folder docker/nextcloud/data/user-one/files/Documents for example. So I'm slightly confused about which folders I need to create for a Docker install and which are created automatically. This ia all about 'mounting' folders and I've always found myself hard of understanding Linux mount points.
The only odd thing was that Nextcloud didn't install the recommended apps it offered and I agreed to, Calendar, Contacts, Tasks and a couple of others. But easily rectified.
My next task is to sort the reverse proxies. But before then I'd be happy to access Nextcloud at
https://mynas.myserver.tld/nextcloud rather than by port number.