readme update
This commit is contained in:
parent
66d74acbfc
commit
e57fa69304
1 changed files with 15 additions and 15 deletions
30
README.md
30
README.md
|
@ -7,6 +7,7 @@ devices in your network.
|
||||||
It supports the group folders as well.
|
It supports the group folders as well.
|
||||||
|
|
||||||
## Running in Docker
|
## Running in Docker
|
||||||
|
|
||||||
You can use the docker image with nextcloud-dlna e.g.:
|
You can use the docker image with nextcloud-dlna e.g.:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -20,7 +21,7 @@ docker run -d \
|
||||||
thanek/nextcloud-dlna
|
thanek/nextcloud-dlna
|
||||||
```
|
```
|
||||||
|
|
||||||
or, if used together with the official Nextcloud docker image using the docker-composer. See the [examples](./examples)
|
or, if used together with the official Nextcloud docker image using the docker-composer. See the [examples](./examples)
|
||||||
directory. for more details about running nextcloud-dlna server in the docker container.
|
directory. for more details about running nextcloud-dlna server in the docker container.
|
||||||
|
|
||||||
You can pass to the container other env variables that are listed below.
|
You can pass to the container other env variables that are listed below.
|
||||||
|
@ -48,21 +49,20 @@ or, if you've already built the project and created the jar file:
|
||||||
|
|
||||||
Available env variables with their default values that you can overwrite:
|
Available env variables with their default values that you can overwrite:
|
||||||
|
|
||||||
| env variable | default value | description |
|
| env variable | default value | description |
|
||||||
|------------------------------|----------------|---------------------------------------------------------|
|
|------------------------------|----------------|---------------------------------------------------------------------------------------------------------------|
|
||||||
| NEXTCLOUD_DLNA_SERVER_PORT | 8080 | port on which the contentController will listen |
|
| NEXTCLOUD_DLNA_SERVER_PORT | 8080 | port on which the contentController will listen |
|
||||||
| NEXTCLOUD_DLNA_INTERFACE | eth0 | interface the server will be listening on |
|
| NEXTCLOUD_DLNA_INTERFACE | | (optional) interface the server will be listening on<br/>if not given, the default local address will be used |
|
||||||
| NEXTCLOUD_DLNA_FRIENDLY_NAME | Nextcloud-DLNA | friendly name of the DLNA service |
|
| NEXTCLOUD_DLNA_FRIENDLY_NAME | Nextcloud-DLNA | friendly name of the DLNA service |
|
||||||
| NEXTCLOUD_DATA_DIR | | nextcloud installation directory (that ends with /data) |
|
| NEXTCLOUD_DATA_DIR | | nextcloud installation directory (that ends with /data) |
|
||||||
| NEXTCLOUD_DB_TYPE | mariadb | nextcloud database type (mysql, mariadb, postgresql) |
|
| NEXTCLOUD_DB_TYPE | mariadb | nextcloud database type (mysql, mariadb, postgresql) |
|
||||||
| NEXTCLOUD_DB_HOST | localhost | nextcloud database host |
|
| NEXTCLOUD_DB_HOST | localhost | nextcloud database host |
|
||||||
| NEXTCLOUD_DB_PORT | 3306 | nextcloud database port |
|
| NEXTCLOUD_DB_PORT | 3306 | nextcloud database port |
|
||||||
| NEXTCLOUD_DB_NAME | nextcloud | nextcloud database name |
|
| NEXTCLOUD_DB_NAME | nextcloud | nextcloud database name |
|
||||||
| NEXTCLOUD_DB_USER | nextcloud | nextcloud database username |
|
| NEXTCLOUD_DB_USER | nextcloud | nextcloud database username |
|
||||||
| NEXTCLOUD_DB_PASS | nextcloud | nextcloud database password |
|
| NEXTCLOUD_DB_PASS | nextcloud | nextcloud database password |
|
||||||
|
|
||||||
|
### Code used
|
||||||
### Code used
|
|
||||||
|
|
||||||
Some java code was taken from https://github.com/haku/dlnatoad
|
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
|
and https://github.com/UniversalMediaServer/UniversalMediaServer converted to Kotlin with upgrade to jupnp instead of
|
||||||
|
|
Loading…
Reference in a new issue