binhex-minidlna
Docker app from Binhex's Repository
ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.
Overview
Readme
View on GitHubApplication
Description
ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients. It is developed by a NETGEAR employee for the ReadyNAS product line.
Build notes
Latest stable release of MiniDLNA.
Usage
docker run -d \
--net="host" \
--name=<container name> \
-v <path for media files>:/media \
-v <path for config files>:/config \
-v /etc/localtime:/etc/localtime:ro \
-e SCHEDULE_SCAN_DAYS=<00-06> \
-e SCHEDULE_SCAN_HOURS=<00-23> \
-e SCAN_ON_BOOT=<yes|no> \
-e ENABLE_STARTUP_SCRIPTS=<yes|no> \
-e STARTUP_SCRIPTS_MODE=<wait|parallel> \
-e HEALTHCHECK_COMMAND=<command> \
-e HEALTHCHECK_ACTION=<action> \
-e HEALTHCHECK_HOSTNAME=<hostname> \
-e UMASK=<umask for created files> \
-e PUID=<uid for user> \
-e PGID=<gid for user> \
binhex/arch-minidlna
Please replace all user variables in the above command defined by <> with the correct values.
Access application
N/A, CLI only.
Example
docker run -d \
--net="host" \
--name=minidlna \
-v /media/pictures:/media \
-v /apps/docker/minidlna:/config \
-v /etc/localtime:/etc/localtime:ro \
-e SCHEDULE_SCAN_DAYS=06 \
-e SCHEDULE_SCAN_HOURS=02 \
-e SCAN_ON_BOOT=no \
-e ENABLE_STARTUP_SCRIPTS=no \
-e STARTUP_SCRIPTS_MODE=wait \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-minidlna
Notes
ENABLE_STARTUP_SCRIPTS when set to yes (default no) will allow a user to
install additional packages from the official Arch Repository or the Arch User
Repository (AUR) via scripts located in the folder /config/minidlna/scripts/.
STARTUP_SCRIPTS_MODE controls how those scripts are executed, set to wait
(default) to run each script in turn and wait for it to complete before the next
script runs, or parallel to run all scripts at the same time.
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-
id <username>
You cannot specify the port the docker container uses, it requires full access to the hosts nic and thus the -p flag is not used. Additional configuration for this application can be done by modifying the /config/minidlna.conf file.
If you appreciate my work, then please consider buying me a beer :D
Categories
Download Statistics
Total Downloads Over Time
Related apps
Explore more like this
Explore allLinks
Details
ghcr.io/binhex/arch-minidlnaRuntime arguments
- Network
host- Shell
bash- Privileged
- false
- Extra Params
--restart=unless-stopped
Template configuration
This is the container path to your configuration files, e.g. databases, configuration files, logs etc.
- Target
- /config
- Default
- /mnt/user/appdata/minidlna
This is the container path to your media files, e.g. movies, tv, music, pictures etc.
- Target
- /media
- Default
- /mnt/user
Specify the day of the week to scan media, for example to scan on Monday set the value to '00'.
- Target
- SCHEDULE_SCAN_DAYS
- Default
- 06
Specify the hour ofthe da to scan media, for example to scan at midnight set the value to '00'.
- Target
- SCHEDULE_SCAN_HOURS
- Default
- 02
Specify whether to scan media on startup of the container.
- Target
- SCAN_ON_BOOT
- Default
- yes|no
Specify whether to run startup scripts to install and/or configure additional applications.
- Target
- ENABLE_STARTUP_SCRIPTS
- Default
- no|yes
Specify whether to run the startup scripts sequentially, waiting for each script to complete, or in parallel.
- Target
- STARTUP_SCRIPTS_MODE
- Default
- wait|parallel
Enable or disable healthchecks.
- Target
- ENABLE_HEALTHCHECK
- Default
- yes|no
The command or script to execute, if not specified then the script healthcheck.sh will be used (process, dns and https checking).
- Target
- HEALTHCHECK_COMMAND
The action to execute if the healthcheck command returns a non zero exit code, if not specified the action will be 'exit 1', if you want the container to exit on failure then set the action to 'kill 1'.
- Target
- HEALTHCHECK_ACTION
The hostname used when performing HTTPS and DNS healthchecking.
- Target
- HEALTHCHECK_HOSTNAME
- Default
- google.com
User ID for the running container
- Target
- PUID
- Default
- 99
Group ID for the running container
- Target
- PGID
- Default
- 100
UMASK for the running container
- Target
- UMASK
- Default
- 000