Need to quickly share a file or directory without configuring a complex web server? This self-contained, cross-platform CLI utility lets you serve files over HTTP immediately. It operates as a single binary drop-in, requiring absolutely no extra dependencies to get started. Whether you are sharing a single document or an entire folder structure, it handles correct MIME types out of the box and provides a fast, highly parallel experience.
Key features include:
curl..tar.gz or .zip archives.services:
miniserve:
image: svenstaro/miniserve:latest
container_name: miniserve
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./data:/data
# Command arguments:
# -v: Verbose logging
# --enable-tar: Allow downloading directories as TAR
# --enable-zip: Allow downloading directories as ZIP
# /data: The directory inside the container to serve
command: -v --enable-tar --enable-zip /data# No sensitive environment variables are required for the default configuration.
# Miniserve is primarily configured via command-line arguments defined in the docker-compose.yml file.Auto-fetched about 22 hours ago
Auto-fetched about 22 hours ago