DemoDemo DocumentationTinyfilemanager is highly documented on the wiki pages. Requirements
How to useDownload ZIP with latest version from master branch. Just copy the tinyfilemanager.php to your webspace - thats all :) You can also change the file name from "tinyfilemanager.php" to something else, you know what i meant for. Default username/password: admin/admin@123 and user/12345. β οΈ Warning: Please set your own username and password in To enable/disable authentication set βΉοΈ Rename the π’ Features
Deploy by DockerMake sure you have already installed docker, Install reference
You can execute this following commands: $ docker run -d -v /absolute/path:/var/www/html/data -p 80:80 --restart=always --name tinyfilemanager tinyfilemanager/tinyfilemanager:master $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 648dfba9c0ff tinyfilemanager/tinyfilemanager:master "docker-php-entrypoiβ¦" 4 minutes ago Up 4 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp tinyfilemanager Access DockerHub: https://hub.docker.com/r/tinyfilemanager/tinyfilemanager How to change config within dockerImportant!!! First, you can copy Origin: // Root path for file manager // use absolute path of directory i.e: '/var/www/folder' or $_SERVER['DOCUMENT_ROOT'].'/folder' $root_path = $_SERVER['DOCUMENT_ROOT']; // Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder' // Will not working if $root_path will be outside of server document root $root_url = ''; Modified: // Root path for file manager // use absolute path of directory i.e: '/var/www/folder' or $_SERVER['DOCUMENT_ROOT'].'/folder' $root_path = $_SERVER['DOCUMENT_ROOT'].'/data'; // Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder' // Will not working if $root_path will be outside of server document root $root_url = 'data/'; Then, change another config what you want, and add a new volume $ docker run -d -v /absolute/path:/var/www/html/data -v /absolute/path/config.php:/var/www/html/config.php -p 80:80 --restart=always --name tinyfilemanager tinyfilemanager/tinyfilemanager:master Stop runningIf you want to stop a running docker service, or you want to restart a service, you should stop it first, or you got $ docker rm -f tinyfilemanager License, Credit
|