Skip to content
JUST LAUNCHED

Kai AI is LIVE! 🎉 Create campaigns in minutes, not months.

Check it out

Tinyfilemanager Docker Compose ((exclusive)) -

services: tinyfilemanager: image: tinyfilemanager/tinyfilemanager:latest container_name: tinyfilemanager ports: - "8080:80" environment: - FM_USERNAME=admin - FM_PASSWORD=$2y$10$gahp8Vp6gBgdECAgpxZgKOvQf8a6H5O83Ovx.G2mB3qZtCGeA5H8q # BCRYPT hash for 'password' - FM_ROOT_PATH=/var/www/html/data volumes: - ./data:/var/www/html/data restart: always Use code with caution. Option B: Using a Custom config.php

services: tinyfilemanager: image: tinyfilemanager/tinyfilemanager:latest volumes: - ./php-custom.ini:/usr/local/etc/php/conf.d/custom.ini:ro

volumes: - ./config.php:/var/www/html/config.php:ro

<?php // Custom configuration $auth_users = array( 'admin' => '$2y$10$YourHashedPasswordHere', // Use password_hash() 'guest' => '$2y$10$GuestHashedPassword' ); tinyfilemanager docker compose

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

Open http://localhost:8080

./data:/var/www/html/data : Maps a local data folder to the container, ensuring your files persist even if the container is deleted. Binds a local configuration file so you can

version: '3.8'

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

If you cannot upload files, Docker might not have permission to write to your local directory. Fix this by adjusting the folder ownership on your host machine: sudo chown -R 33:33 ./data Use code with caution. // Use password_hash() 'guest' =&gt

Binds a local configuration file so you can customize settings permanently. Step 3: Configure Security and Users

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.

TinyFileManager requires a configuration file to manage users and access permissions. Create a file named config.php in the same directory. nano config.php Use code with caution.

into the container's application directory to apply persistent custom configurations. Docker Hub Alternative Distributions Key Feature Minimal setup using PHP's built-in server Docker Hub moonbuggy2000 Includes Nginx and PHP-FPM for better performance Docker Hub docker-compose.yml tailored for a specific environment, like a Raspberry Pi reverse proxy Tiny File Manager - Awesome Docker Compose

Here’s why Docker Compose is superior: