An open API service indexing awesome lists of open source software.

https://github.com/vdo/statiserve

Serve static websites with docker
https://github.com/vdo/statiserve

Last synced: about 2 months ago
JSON representation

Serve static websites with docker

Awesome Lists containing this project

README

          

# statiserve

Serve static websites with docker, nginx and IPFS in a single container.

IPFS implements a gateway to serve content out of the box, but with this container:

- Instead of serving arbitrary data, you can specify a hash and it will be served on the root path.

- NGINX is optimized with a local cache and high compression to serve static websites.

- Builds ready in Dockerhub for both AMD64 and ARM64

## Usage

Use the `IPFS_HASH` environment variable to specify the IPFS or IPNS hash to serve.
For example:

```
IPFS_HASH=/ipfs/QmbRtS9dp2zqARv7v7ak2reJp3zE5NRkvEpHsc48Hjo9MF/
```