Sign inSign up

zigarn/nextcloud-client

By zigarn

Updated about 5 years ago

Image
0

217

zigarn/nextcloud-client repository overview

Nextcloud client docker image for nextcloud synchronization

Build Status

Docker Image Version (latest by date) Docker Image Size (latest by date) Docker Pulls

Source

Tags and respective Dockerfile links

Source repository on GitHub: zigarn/docker-nextcloud-client

Configuration

Create a configuration folder with 2 files :

  • .netrc: netrc configuration file for authentication on nextcloud server. E.g default login mylogin password mypassword
  • sync-exclude.lst: list of files or folder to exclude in the format generated by the Ignored Files Editor

Use

Launch the docker image with:

  • Volumes:
    • /data: folder of synced data
    • /log: folder for sync logs
    • /conf: folder containing configuration files
  • Env:
    • LANG: the LANG for encoding in file names. Defaults to 'C.UTF-8'
    • SERVER: the Nextcloud server URL
    • DAVPATH: the WebDAV path on the server. Defaults to '/remote.php/dav' (may have to change for '/remote.php/webdav')
    • PERIODICITY: sync periodicity in crontab format (but DO NOT USE @xxx formats). Defaults to 0 * * * * (hourly)

E.g:

docker run --detach \
  --volume ~/nextcloud-sync:/data \
  --volume /var/log:/log \
  --volume /etc/nextcloud-sync/:/conf \
  --env LANG=fr_FR.ISO-8859-15 \
  --env SERVER=http://nextcloud.server.com/ \
  --env PERIODICITY='*/15 * * * *' \
  zigarn/nextcloud-client

Tag summary

Content type

Image

Digest

Size

145.4 MB

Last updated

about 5 years ago

docker pull zigarn/nextcloud-client