Update README.md
This commit is contained in:
parent
1a35825107
commit
0fd69c094f
1 changed files with 5 additions and 4 deletions
|
@ -32,8 +32,7 @@ Available env variables with their default values that you can overwrite:
|
|||
|
||||
|
||||
## Running in Docker
|
||||
You can build your Docker image using the `docker build -t nextcloud-dlna .` command. Next, you need to run the docker
|
||||
image with the `net=host` option e.g:
|
||||
You can use the docker image with nextcloud-dlna e.g.:
|
||||
|
||||
```
|
||||
docker run -d \
|
||||
|
@ -41,7 +40,7 @@ docker run -d \
|
|||
--net=host \
|
||||
-v /path/to/nextcloud/app/ending/with/data:/nextcloud \
|
||||
-e NEXTCLOUD_DATA_DIR=/nextcloud \
|
||||
-e NEXTCLOUD_DB_HOST='<your_host_ip_here>' \
|
||||
-e NEXTCLOUD_DB_HOST='<your_nextcloud_db_host_ip_here>' \
|
||||
-e NEXTCLOUD_DB_PASS='<your_nextcloud_db_pass_here>' \
|
||||
nextcloud-dlna
|
||||
```
|
||||
|
@ -51,8 +50,10 @@ You can pass to the container other env variables that are listed above.
|
|||
Note that it would not work on Mac OS since docker is a Linux container and the `host` networking mode doesn't actually
|
||||
share the host's network interfaces.
|
||||
|
||||
See https://hub.docker.com/r/thanek/nextcloud-dlna for more docker image details.
|
||||
|
||||
### Code used
|
||||
|
||||
Some java code was taken from https://github.com/haku/dlnatoad
|
||||
and https://github.com/UniversalMediaServer/UniversalMediaServer converted to Kotlin with upgrade to jupnp instead of
|
||||
cling.
|
||||
cling.
|
||||
|
|
Loading…
Reference in a new issue