From 935d9160805a4db138917bed5176089beae9edaf Mon Sep 17 00:00:00 2001 From: Marten <43725244+Tiyn@users.noreply.github.com> Date: Fri, 13 Nov 2020 13:18:28 +0100 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3b056c9..bf4133d 100644 --- a/README.md +++ b/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`