Github Repo: https://github.com/ss89/docker-nextcloud-armhf
configure databaseHost, databaseName, databaseUser, databasePass, nextcloudAdminUser, nextcloudAdminPass, nextcloudDataDir, nextcloudTrustedDomain according to your needs.
databaseHost = database host - you might want to use another container/host for this (default: '127.0.0.1' - so the containers internal database)
databaseName = name of the database on the database host (default: 'nextcloud')
databaseUser = name of the user on the database host (default: 'nextcloud')
databasePass = password for the databaseUser on the database host (default: 'nextcloud')
nextcloudAdminUser = administrative user on the nextcloud installation (default: 'admin')
nextcloudAdminPass = administrative users password on the nextcloud installation (default: 'admin')
nextcloudDataDir = data dir for the nextcloud installation (default: '/data', you might want to use a volume here)
nextcloudTrustedDomain = trusted domain for the nextcloud installation, you WILL need to MODIFY this for anything else than 'localhost' (default: 'localhost')