Docker container containing the media server ReadyMedia (previously MiniDLNA).
You can start the container like this:
docker volume create readymediacache
docker run --restart=unless-stopped -d --name=readymedia1 --net=host -v /my/video/path:/media -v readymediacache:/cache -e VIDEO_DIR1=/media/my_video_files mytracks/readymediaThe container needs a volume to cache some data. In the example above a Docker volume is used for that. You can also map the cache to some host folder.
You can configure the container using the following environment variables:
The following Docker architectures are supported: linux/arm64, linux/arm/v7 and linux/amd64
You can also run this container in Kubernetes. Here is an example of a deployment definition that you can use as a starting point for your configuration:
apiVersion: apps/v1
kind: Deployment
metadata:
name: readymedia
labels:
app: readymedia
spec:
replicas: 1
selector:
matchLabels:
app: readymedia
template:
metadata:
labels:
app: readymedia
spec:
hostNetwork: true
containers:
- name: readymedia
image: mytracks/readymedia
env:
- name: VIDEO_DIR1
value: /media/my_video_files
volumeMounts:
- mountPath: /media
name: media
- mountPath: /cache
name: cache
volumes:
- name: media
hostPath:
path: /volumes/HD/media
type: Directory
- name: cache
hostPath:
path: /volumes/HD/readymediacache
type: DirectoryNotes:
- You need to set
hostNetwork: true. If you know a better solution please let me know.
