$auth_users = [ 'admin' => '$2y$10$axZWNo7Z..0z0mP9vCg9O.3pG8VwS5I05iJc.g4t0bI6pXh2uW6C.', // Default: admin@123 'user' => '$2y$10$p8/mK8L.w6Yc8Yg/gG6gO.d5lA2pXw3O5iJc.g4t0bI6pXh2uW6C.' // Default: user@123 ]; Use code with caution.
Note: The data directory created above will serve as the default directory that TinyFileManager views and manages. 2. Crafting the Docker Compose File
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 environment: - USERNAME=admin - PASSWORD=admin123 - TZ=UTC tinyfilemanager docker compose
Deploying TinyFileManager with Docker Compose: A Complete Guide
Keeps application files separate from the host system. $auth_users = [ 'admin' => '$2y$10$axZWNo7Z
Easily map specific host directories to the container for management. Prerequisites
Create docker-compose.yml :
To stop the application, run:
: Quickly spin up the application without worrying about local PHP or web server dependencies. tinyfilemanager docker compose