Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

About

nextCloud client docker image for nextCloud synchronization

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages