Tweak descriptive text, add UID/GID and fix/comment Docker CLI one-liner

This commit is contained in:
flow.gunso
2019-03-19 13:09:57 +01:00
parent 2e111131b1
commit 19713f6a7f

View File

@@ -25,8 +25,9 @@ You can rely on the weekly stable releases. They are stable.
# Purpose # Purpose
Docker Seafile Client allow you to sync a Seafile library within a container. Essentially, you have the ability to: Docker Seafile Client allow you to sync a Seafile library within a container.
* **Share** data from a **Seafile library** as a volume to **other containers**. Essentially, you can **share** data from a **Seafile library** as a volume to **other containers**.
## Seafile? ## Seafile?
[Seafile is a cloud storage software](https://www.seafile.com/). [Seafile is a cloud storage software](https://www.seafile.com/).
@@ -43,10 +44,12 @@ You would have to share the path `/volume/` to other containers, with the follow
### Docker CLI ### Docker CLI
``` ```
docker run \ docker run \
-e SEAF_SERVER_URL= \ -e SEAF_SERVER_URL= \ # The URL to your Seafile server.
-e SEAF_USERNAME \ -e SEAF_USERNAME= \ # Your Seafile username.
-e SEAF_PASSWORD \ -e SEAF_PASSWORD= \ # Your Seafile password
-e SEAF_LIBRARY_UUID \ -e SEAF_LIBRARY_UUID= \ # The Seafile library UUID you want to sync with.
-e UID= \ # Default is 1000.
-e GID= \ # Default is 1000.
-v your/shared/volume:/volume \ -v your/shared/volume:/volume \
flowgunso/seafile-client:latest flowgunso/seafile-client:latest
``` ```
@@ -62,7 +65,7 @@ services:
environment: environment:
- SEAF_SERVER_URL= # The URL to your Seafile server. - SEAF_SERVER_URL= # The URL to your Seafile server.
- SEAF_USERNAME= # Your Seafile username. - SEAF_USERNAME= # Your Seafile username.
- SEAF_PASSWORD= # Your Seafile password - SEAF_PASSWORD= # Your Seafile password.
- SEAF_LIBRARY_UUID= # The Seafile library UUID you want to sync with. - SEAF_LIBRARY_UUID= # The Seafile library UUID you want to sync with.
- UID= # Default is 1000. - UID= # Default is 1000.
- GID= # Default is 1000. - GID= # Default is 1000.