Skip to main content
Explore our brands An Informa TechTarget Publication

Tinyfilemanager Docker Compose ^new^ Jun 2026

You should see the login screen, allowing you to access the file management interface.

services: tinyfilemanager: image: pritunl/tinyfilemanager:latest container_name: tinyfilemanager restart: unless-stopped ports: - "8080:80" volumes: - ./data:/var/www/html - ./uploads:/var/www/html/uploads - ./config:/config environment: - USERNAME=$TFM_USERNAME:-admin - PASSWORD=$TFM_PASSWORD:-admin123 - TZ=$TZ:-America/New_York - MAX_UPLOAD_SIZE=100M - THEME=dark networks: - webnet logging: driver: "json-file" options: max-size: "10m" max-file: "3"

Check the host directory ( ~/tinyfilemanager/data ) to confirm the file exists on the local filesystem. Production Security Recommendations

Then mount it into the container:

version: '3.8'

docker compose pull tinyfilemanager docker compose up -d

docker stop tinyfilemanager docker rm tinyfilemanager tinyfilemanager docker compose

Now, let's dive into a deep story about "tinyfilemanager docker compose".

However, manually installing PHP and configuring a webserver (Nginx/Apache) on your host system is fragile. This is where provides a superior alternative.

For the ultimate ease, use Traefik as your reverse proxy: You should see the login screen, allowing you

Create .env file:

Use TFM as a quick way to edit repository files without cloning. Mount the Git repository volume.

services: tinyfilemanager: image: tinyfilemanager/tinyfilemanager:master restart: always expose: - "80" volumes: - ./data:/var/www/html/data However, manually installing PHP and configuring a webserver