Tinyfilemanager Docker Compose Jun 2026

From the directory containing your docker-compose.yml file, run the following command to start the container in detached mode:

volumes: - nextcloud_data:/var/www/html/data/nextcloud

Deploying using Docker Compose provides a streamlined, portable way to manage server files through a lightweight web interface. This approach encapsulates all PHP dependencies, making it ideal for various platforms, including Raspberry Pi. 1. Project Configuration

: By default, TinyFileManager uses basic authentication. Default Admin : admin / admin@123 Default User : user / 12345 tinyfilemanager docker compose

TinyFileManager has an official, minimal Docker image maintained by the community. Create a file named docker-compose.yml in your project directory: nano docker-compose.yml Use code with caution. Paste the following configuration into the file:

. TinyFileManager is a lightweight, single-file PHP application designed to manage server files through a responsive web interface. Core Capabilities Comprehensive File Operations

Here is a brief example of how to route traffic through an existing reverse proxy configuration block: From the directory containing your docker-compose

Open docker-compose.yml in a text editor and add the following configuration:

To change the password and customize settings properly, you need a config.php file. The container will create one automatically if it doesn't exist, but it's better to create a basic one first. Stop the container: docker-compose down

Run the Docker Compose command in detached mode. This runs the container in the background. docker-compose up -d Use code with caution. Paste the following configuration into the file:

Find the $auth_users array and set:

FROM tinyfilemanager/tinyfilemanager:latest RUN apk add --no-cache zip unzip

Add user: "1000:1000" (adjusting numbers to match your host system user UID/GID) to prevent TinyFileManager from executing actions as the system root user.

For production environments, it is recommended to run Tiny File Manager behind a reverse proxy like Nginx or Traefik to handle SSL certificates. Example: Nginx Reverse Proxy

docker compose pull tinyfilemanager docker compose up -d