See: https://github.com/nextcloud/news-updater
Nextcloud API:
$ docker run -d -e NEXTCLOUD_URL=https://nextcloud.example.com/nextcloud \
-e NEXTCLOUD_ADMIN_USER=admin \
-e NEXTCLOUD_ADMIN_PASSWORD=password \
romulus1689/nextcloud-news-updater
Nextcloud mounted volume:
$ docker run -d -e NEXTCLOUD_URL=https://nextcloud.example.com/nextcloud \
-e NEXTCLOUD_ADMIN_USER=admin \
-e NEXTCLOUD_ADMIN_PASSWORD=password \
-v /var/www/nextcloud:/nextcloud \
romulus1689/nextcloud-news-updater /nextcloud
Usage with commandline options
$ docker run -d -e NEXTCLOUD_URL=https://nextcloud.example.com/nextcloud \
-e NEXTCLOUD_ADMIN_USER=admin \
-e NEXTCLOUD_ADMIN_PASSWORD=password \
-v /var/www/nextcloud:/nextcloud \
romulus1689/nextcloud-news-updater --apilevel v15 --mode endless /nextcloud
ISC