Tinyfilemanager Docker Compose 📥
If you run a media server, mount your media folders into TFM to upload/manage movies, subtitles, and metadata directly from the web.
TinyFileManager was originally based on the popular filemanager project by Alexandre T. It is distributed as a single file, tinyfilemanager.php. You drop it into a web directory, and instantly you have a file explorer.
docker-compose down
For the ultimate ease, use Traefik as your reverse proxy:
version: '3.8'services: tinyfilemanager: image: tinyfilemanager/tinyfilemanager:latest labels: - "traefik.enable=true" - "traefik.http.routers.tfm.rule=Host(
files.yourdomain.com)" - "traefik.http.routers.tfm.tls.certResolver=letsencrypt" networks: - traefik tinyfilemanager docker compose
networks: traefik: external: true
(Assumes you have Traefik already running with a dedicated network.) If you run a media server, mount your
docker compose up -d
Visit http://localhost:8080. You’ll see the TinyFileManager login screen. Enter admin / admin123. You should now see the data/ directory (empty).
Change host port in docker-compose.yml:
ports:
- "8081:80" # Changed from 8080 to 8081
Add logging driver to your compose:
services:
tinyfilemanager:
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
For advanced setups, use the syslog driver and forward to a log aggregator.
Use TFM as a quick way to edit repository files without cloning. Mount the Git repository volume.

