diff --git a/README.md b/README.md index 0aefe87..fce6ce3 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ devices in your network. It supports the group folders as well. ## Running in Docker + You can use the docker image with nextcloud-dlna e.g.: ```bash @@ -20,7 +21,7 @@ docker run -d \ 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. 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: -| env variable | default value | description | -|------------------------------|----------------|---------------------------------------------------------| -| 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_FRIENDLY_NAME | Nextcloud-DLNA | friendly name of the DLNA service | -| NEXTCLOUD_DATA_DIR | | nextcloud installation directory (that ends with /data) | -| NEXTCLOUD_DB_TYPE | mariadb | nextcloud database type (mysql, mariadb, postgresql) | -| NEXTCLOUD_DB_HOST | localhost | nextcloud database host | -| NEXTCLOUD_DB_PORT | 3306 | nextcloud database port | -| NEXTCLOUD_DB_NAME | nextcloud | nextcloud database name | -| NEXTCLOUD_DB_USER | nextcloud | nextcloud database username | -| NEXTCLOUD_DB_PASS | nextcloud | nextcloud database password | +| env variable | default value | description | +|------------------------------|----------------|---------------------------------------------------------------------------------------------------------------| +| NEXTCLOUD_DLNA_SERVER_PORT | 8080 | port on which the contentController will listen | +| NEXTCLOUD_DLNA_INTERFACE | | (optional) interface the server will be listening on
if not given, the default local address will be used | +| NEXTCLOUD_DLNA_FRIENDLY_NAME | Nextcloud-DLNA | friendly name of the DLNA service | +| NEXTCLOUD_DATA_DIR | | nextcloud installation directory (that ends with /data) | +| NEXTCLOUD_DB_TYPE | mariadb | nextcloud database type (mysql, mariadb, postgresql) | +| NEXTCLOUD_DB_HOST | localhost | nextcloud database host | +| NEXTCLOUD_DB_PORT | 3306 | nextcloud database port | +| NEXTCLOUD_DB_NAME | nextcloud | nextcloud database name | +| NEXTCLOUD_DB_USER | nextcloud | nextcloud database username | +| NEXTCLOUD_DB_PASS | nextcloud | nextcloud database password | - -### Code used +### 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