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
- Host: GitHub
- URL: https://github.com/vdo/statiserve
- Owner: vdo
- Created: 2020-06-11T12:24:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T18:11:45.000Z (almost 6 years ago)
- Last Synced: 2025-08-18T05:35:39.060Z (10 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/
```