Official tinyMediaManager docker images
5M+
tinyMediaManager offers an (experimental) official docker image based on Debian Buster (for maximum compatibility). This image includes all needed components (up to date libmediainfo, FFmpeg, ...) for the best experience. This image should work on any x86_64 device.
Using this image, you will get a fully working instance of tinyMediaManager which is accessible remotely (via web/VNC).
4000 for web access (via noVNC)/data where all local data from tinyMediaManager is stores (like data, logs, cache and backups)/media/xxx where all media will be accessed. E.g.:
/app/addons/app/launcher-extra.yml too (see https://www.tinymediamanager.org/docs/start-parameters)docker run \
--name=tinymediamanager \
-p 4000:4000 \
-v </path/to/local/data/>:/data \
-v </path/to/movies>:/media/movies \
-v </path/to/tvshows>:/media/tvshows \
--log-driver json-file \
--log-opt max-size=20m \
--log-opt max-file=5 \
tinymediamanager/tinymediamanager:latest
After starting the container, you can access tinyMediaManager via http://your-host-ip:4000.
---
version: "2.1"
services:
tinymediamanager:
image: tinymediamanager/tinymediamanager:latest
container_name: tinymediamanager
environment:
- USER_ID=1000
- GROUP_ID=100
- ALLOW_DIRECT_VNC=true
- LC_ALL=en_US.UTF-8 # force UTF8
- LANG=en_US.UTF-8 # force UTF8
- PASSWORD=<password>
volumes:
- </path/to/local/data/>:/data
- </path/to/movies>:/media/movies
- </path/to/tv_shows/>:/media/tv_shows
ports:
- 5900:5900 # VNC port
- 4000:4000 # Webinterface
restart: unless-stopped
logging: # restrict log size
driver: "json-file"
options:
max-file: "5" # number of files or file count
max-size: "20m" # file size
You should map the following folders to a volume/folder on the host:
/data: where all local data of tinyMediaManager will be stores. If you do not map this out of the container, all your data/settings will be lost on an upgrade of tinyMediaManager/media: contains all your data sources/data/addons: where to put custom scrapers/app/launcher-extra.yml: custom launch parameters - see https://www.tinymediamanager.org/docs/start-parametersATTENTION: If you want to use your own launcher-extra.yml you need to add the following lines to make tmm work as intended:
---
javaHome: ""
jvmOpts:
- "-Dtmm.contentfolder=/data"
- "-Dtmm.noupdate=true"
env: [ ]
You need read/write access to all mapped volumes!
This image offers some special configuration parameters which can be passed to docker by using environment variables
| Variable | Description | Default |
|---|---|---|
| USER_ID | ID of the user tinyMediaManager runs as. See below for an example how to use this. | 1000 |
| GROUP_ID | ID of the group tinyMediaManager runs as. See below for an example how to use this. | 1000 |
| PASSWORD | Password for remote access | |
| LC_TIME | Desired date/time format. en_US.UTF-8 for 12 hour format, C.UTF-8 for 24 hour format | |
| TZ | Timezone | |
| ALLOW_DIRECT_VNC | To access the VNC server directly | false |
When using using data volumes (-v flags for /data and media), permissions issues can occur between the host and the container (tinyMediaManager). For example, the user within the container may not exist on the host or does not match the right user on the host. This could prevent the container from properly accessing files and folders on the shared volume and vice versa. To avoid any problem, you can specify the user tinyMediaManager should run as.
This is done by passing the user ID and group ID to the container via the USER_ID and GROUP_ID environment variables.
To find the right IDs to use, issue the following command on the host, with the user owning the data volume on the host:
id <username>
Which gives an output like this one:
uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),4(adm),24(cdrom),27(sudo),46(plugdev),113(lpadmin)
The value of uid (user ID) and gid (group ID) are the ones that you should be given the container.
Because of security restrictions in the browser, your client clipboard cannot be synchronized to the clipboard of tinyMediaManager. To copy data from/to the remote connection of tinyMediaManager, you need to invoke the clipboard feature from noVNC. Just open the control panel of noVNC from the left side of the window and use the clipboard feature from there to copy the data.
Content type
Image
Digest
sha256:48c15784a…
Size
658 MB
Last updated
9 days ago
docker pull tinymediamanager/tinymediamanager