Skip to content
This repository was archived by the owner on Aug 13, 2020. It is now read-only.

Latest commit

 

History

History
32 lines (26 loc) · 1.2 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.2 KB

cloud-file-server

cloud-file-server is a an application which provide files via http using configured connectors

Build Status Docker Repository on Quay Go Report Card GoDoc

Connectors

  • AWS s3 bucket
  • local directory
  • local single file

Run

./cloud-file-server --config example-config.yaml

Example config

listen: :8080
logRequests: true
connectors:
- type: s3
  uri: s3://aws-s3-bucket-name/example/path
  region: eu-west-1
  pathPrefix: /s3
- type: file
  uri: file:///example/path/file.yaml
  pathPrefix: /file
- type: directory
  uri: file:///example/path/directory
  pathPrefix: /dir