Always put it behind a reverse proxy with:
For the ultimate ease, use Traefik as your reverse proxy:
version: '3.8'services: tinyfilemanager: image: tinyfilemanager/tinyfilemanager:latest labels: - "traefik.enable=true" - "traefik.http.routers.tfm.rule=Host(
files.yourdomain.com)" - "traefik.http.routers.tfm.tls.certResolver=letsencrypt" networks: - traefik
networks: traefik: external: true
(Assumes you have Traefik already running with a dedicated network.)
Add logging driver to your compose:
services:
tinyfilemanager:
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
For advanced setups, use the syslog driver and forward to a log aggregator.
If you want, I can:
Tiny File Manager does not use environment variables for passwords by default. You must edit the configuration file. tinyfilemanager docker compose
COPY custom.css /var/www/html/custom.css
USER www-data
Then reference it in docker-compose.yml: Always put it behind a reverse proxy with:
services:
tinyfilemanager:
build: .
# ... rest of the configuration