Skip to content

zigarn/docker-nextcloud-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nextcloud client docker image for nextcloud synchronization

Build Status

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

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

Releases

No releases published

Packages

No packages published