eminmuhammadi / static-file-server

The fastest way to serve static files. (Powered by Minio)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Static File Server

The fastest way to serve static files.

Usage

go run main.go --port <http-port> --path <directory>

Production Environment

Requirements

  • docker
  • docker-compose

Exposed ports

  • 80: static files http directory (production)
  • 9000: Minio API endpoints
  • 9001: Minio Console

Start service

bash docker-up.sh

Configuration

By default you need to create static-files bucket. To do so, open minio console then create new bucket named as static-files.

Clients

Static File Server uses Minio as a backend (on docker environmet). So if you want to upload files to the server, you can use the following clients:

About

The fastest way to serve static files. (Powered by Minio)


Languages

Language:Go 67.2%Language:Dockerfile 26.7%Language:Shell 6.1%