# goStatic

goStatic is a lightweight static file server packaged as a minimal Docker container. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/508/gostatic

## Description

goStatic is a lightweight static file server packaged as a minimal Docker container. It serves static web content using a single Go binary with no runtime dependencies, making it ideal for homelab users who need a small, fast way to host static files.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

24/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 1330 days ago)
- Popular: 53 (440 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- GitHub: https://github.com/sansolovyov/gostatic
- Unraid: https://ca.unraid.net/apps/gostatic-0lf17ai1tblcfa?q=goStatic

## Common questions

### How do I expose goStatic on Fly.io?

GoStatic uses port 8043 by default, so add -p 8043 to your fly init command when creating the project to route traffic to port 80.

### Does the goStatic container need anything beyond the Go binary to serve files?

No, Go can generate a fully static binary, so you don't need anything else.

### Does goStatic provide monitoring endpoints?

Yes, it includes Prometheus metrics and a health endpoint.

---
Source: Our Local Host (https://ourlocalhost.com/app/508/gostatic), the self-hosted and open-source app directory.
