TinyFileManager is a lightweight, single-file PHP file manager that provides a web-based interface for managing files on your server. This guide will help you deploy it using Docker Compose.
environment:
- MAX_UPLOAD_SIZE=500M
By following these tips and tricks, and troubleshooting common issues, you can ensure a smooth and efficient experience with Tiny File Manager and Docker Compose. tinyfilemanager docker compose
services:
tinyfilemanager:
image: tinyfilemanager/tinyfilemanager:latest
container_name: tinyfilemanager
volumes:
- /srv/data:/var/www/html/data
- tinyfilemanager_config:/var/www/html/config
environment:
- TFM_USERNAME=$TFM_USER
- TFM_PASSWORD=$TFM_PASS
labels:
- "traefik.enable=true"
- "traefik.http.routers.tfm.rule=Host(files.yourdomain.com)"
- "traefik.http.routers.tfm.entrypoints=websecure"
- "traefik.http.routers.tfm.tls.certresolver=letsencrypt"
- "traefik.http.services.tfm.loadbalancer.server.port=80"
restart: unless-stopped
networks:
- traefik_public By following these tips and tricks, and troubleshooting
sudo chown -R 82:82 ./data
sudo chmod -R 755 ./data
volumes:
- ./config.php:/var/www/html/config.php:ro