s3web

Serve static files from any S3 compatible object storage endpoints.

Usage

You can use docker-compose to run s3web:

version: "3"
services:
  s3web:
    image: ghcr.io/long2ice/s3web/s3web
    network_mode: host
    restart: always
    volumes:
      - ./config:/config

Configuration

This is example of the configuration file:

server:
  listen: 0.0.0.0:8080
s3:
  endpoint: localhost:9000
  schema: http
  accessKey: minio
  secretKey: minio123
  bucket: mybucket
  region: us-east-1
sites:
  - domain: localhost
    subFolder: /

Credits

  • s3www, base project for s3web improvement.

License

This project is licensed under the Apache-2.0 License.

GitHub

View Github