Sign inSign up

eldekyfin/serve

By eldekyfin

•Updated over 3 years ago

A static file server with directory indexing for Docker

Image
0

480

eldekyfin/serve repository overview

⁠Docker Serve

A static file server with directory indexing for Docker. This is a docker wrapper for the Vercel's serve package⁠.

serve helps you serve a static site, single page application or just a static file (no matter if on your device or on the local network). It also provides a neat interface for listing the directory's contents:

Screenshot

⁠Why I created this package

I needed a simple way to share files on my local network through http.

Do not use this on the internet without running it behind an authentication service.

⁠How to Use it

⁠Docker compose
version: "3.8"

services:
  serve:
    image: eldekyfin/serve
    ports:
      - 8080:8080
    volumes:
      - /shared/dir:/var/static

⁠Volumes

/var/static Directory to serve

Tag summary

Content type

Image

Digest

sha256:59f04515a…

Size

54.5 MB

Last updated

over 3 years ago

docker pull eldekyfin/serve