Sign inSign up

kremi151/jserve

By kremi151

Updated almost 5 years ago

Static file server written in Java, compiled as a native binary using GraalVM

Image
0

1.2K

kremi151/jserve repository overview

JServe

Getting started

Mount the folder containing your static files at /opt/jserve/files into the container.

The static file server will run by default on port 1806, but this can be customized.

The following customizations can be applied using environment variables:

  • JSERVE_PORT: Custom port that JServe will listen on
  • JSERVE_MAX_THREADS: The maximal amount of worker threads that will be used to serve files (by default 10)

Example of launching JServe using default configuration:

docker run -v /path/to/your/files:/opt/jserve/files -p 1806:1806 kremi151/jserve:latest

GitHub: https://github.com/kremi151/JServe

Tag summary

Content type

Image

Digest

Size

3.1 MB

Last updated

almost 5 years ago

docker pull kremi151/jserve