Browse Source

Update README.md

master
Marten 1 month ago
committed by GitHub
parent
commit
935d916080
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 5 deletions
  1. +9
    -5
      README.md

+ 9
- 5
README.md

@ -5,15 +5,19 @@ This is a dockerized version of a OwnCloud Client.
Set the following variables with the -e tag.
| Name | Usage | Default |
| --------- | --------------------------------------------------- | --------- |
| USER | username of OwnCloud server | admin |
| PASSWORD | password of OwnCloud server | admin |
| URL | url of OwnCloud server (dont forget the http(s)://) | localhost |
| `USER` | username of OwnCloud server | `admin` |
| `PASSWORD` | password of OwnCloud server | `admin` |
| `URL` | url of OwnCloud server (dont forget the http(s)://) | `localhost` |
## Volumes
Set the following volumes with the -v tag.
| Volume-Name | Container mount | Description |
| ----------- | --------------- | ----------------------------------- |
| data | /data | directory for the owncloud contents |
| `data` | `/data` | directory for the owncloud contents |
## Example run-command
``` docker run --name owncloudcli -v owncloudcli:/data --restart unless-stopped -e USER=admin1 -e PASSWORD=password1 -e URL='example.com' -d tiynger/owncloudclient ```
Either use the docker image `tiynger/owncloudclient` or run `docker build . -t owncloudclient` in the top directory of this repository.
If so you need to change the command below apropiately (`tiynger/owncloudclient` to `owncloudclient`).
`docker run --name owncloudcli -v owncloudcli:/data --restart unless-stopped -e USER=admin1 -e PASSWORD=password1 -e URL='example.com' -d tiynger/owncloudclient`

Loading…
Cancel
Save