mirror of
https://github.com/tiyn/wiki.git
synced 2025-10-10 09:51:22 +02:00
restructuring to wiki-repo
This commit is contained in:
19
docker/owncloudcli/readme.md
Normal file
19
docker/owncloudcli/readme.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# DockerOwncloudClient
|
||||
This is a dockerized version of a OwnCloud Client.
|
||||
The original container and documentation are made by [tiynger](https://hub.docker.com/r/tiynger/owncloudclient)
|
||||
|
||||
## Environment-variables
|
||||
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 |
|
||||
|
||||
## Volumes
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| Volume-Name | Container mount | Description |
|
||||
| ----------- | --------------- | ----------------------------------- |
|
||||
| data | /data | directory for the owncloud contents |
|
11
docker/owncloudcli/rebuild.sh
Executable file
11
docker/owncloudcli/rebuild.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
docker stop owncloudcli
|
||||
docker rm owncloudcli
|
||||
docker pull tiynger/owncloudclient
|
||||
docker run --name owncloudcli \
|
||||
--restart unless-stopped \
|
||||
-v owncloudcli:/data \
|
||||
-e USER='user' \
|
||||
-e PASSWORD='password' \
|
||||
-e URL='https://subdomain.domain.tld' \
|
||||
-d tiynger/owncloudclient
|
Reference in New Issue
Block a user