Skip to content

Tinyfilemanager Docker Compose Jun 2026

services: tinyfilemanager: image: tinyfilemanager/tinyfilemanager:master container_name: tinyfilemanager restart: always ports: - "8080:80" volumes: # Replace '/your/absolute/path' with the folder you want to manage - /your/absolute/path:/var/www/html/data Use code with caution. Copied to clipboard

Deploying TinyFileManager with Docker Compose gives you a fast, reliable, self-hosted cloud storage solution without the resource bloat of larger enterprise alternatives. By separating your application configuration from your data storage volumes, you ensure your file platform remains fully portable, easy to back up, and simple to upgrade.

TinyFile Manager is often deployed alongside other containers to complement its functionality, such as a Foundry Virtual Tabletop server, where TFM is used for file management within the same Docker Compose project. tinyfilemanager docker compose

Your lightweight file cloud is now ready. Happy self-hosting!

Exposing raw HTTP ports to the public internet puts credentials at risk of interception. Always place TinyFileManager behind a reverse proxy (such as Nginx Proxy Manager, Caddy, or Traefik) to handle SSL encryption. Exposing raw HTTP ports to the public internet

Creating a dedicated project directory keeps configuration files, environment variables, and persistent data organized.

: Ensures the application automatically restarts if the host reboots or the container crashes. Step 3: Setting Up Environment Variables and persistent data organized.

: To change the default configuration (like passwords or root paths), you can mount a local config.php file to /var/www/html/config.php . How to run a Docker compose YML file

Create a docker-compose.yml file within your project directory: nano docker-compose.yml Use code with caution. Paste the following optimized configuration into the file: