Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zigarn/docker-nextcloud-client
nextCloud client docker image for nextCloud synchronization
https://github.com/zigarn/docker-nextcloud-client
docker docker-image nextcloud nextcloud-client
Last synced: 11 days ago
JSON representation
nextCloud client docker image for nextCloud synchronization
- Host: GitHub
- URL: https://github.com/zigarn/docker-nextcloud-client
- Owner: zigarn
- Created: 2016-06-05T16:10:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-27T16:53:31.000Z (over 3 years ago)
- Last Synced: 2024-11-22T16:51:04.018Z (2 months ago)
- Topics: docker, docker-image, nextcloud, nextcloud-client
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/zigarn/nextcloud-client/
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nextcloud client docker image for nextcloud synchronization
[![Build Status](https://github.com/zigarn/docker-nextcloud-client/actions/workflows/docker.yml/badge.svg)](https://github.com/zigarn/docker-nextcloud-client/actions/workflows/docker.yml)
![Docker Image Version (latest by date)](https://img.shields.io/docker/v/zigarn/nextcloud-client)
![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/zigarn/nextcloud-client)
![Docker Pulls](https://img.shields.io/docker/pulls/zigarn/nextcloud-client)## Configuration
Create a configuration folder with 2 files :
- `.netrc`: [netrc](http://linux.die.net/man/5/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](https://docs.nextcloud.com/desktop/3.1/navigating.html#using-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](http://linux.die.net/man/5/crontab) format (but DO NOT USE @xxx formats). Defaults to `0 * * * *` (hourly)E.g:
```shell
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
```