---
title: "GoStatic"
description: "1 posts about GoStatic, summarised, each linking to the original."
---

# GoStatic
> 1 posts about GoStatic, summarised, each linking to the original.

## Articles

### [Serve small with Fly.io and GoStatic](https://yomu.fyi/post/serve-small-with-fly-io-and-gostatic.md)
- Company: [Fly.io](https://yomu.fyi/company/fly-io.md)
- Published: Jul 27, 2020
- Type: Tutorial

The post shows how to deploy a tiny static signpost site on Fly.io using GoStatic, with the aim of keeping the application’s footprint and running cost low. GoStatic is a self-contained web server that can run in a bare Docker image; the described image is 6MB, while the completed deployment reports 7.7MB. The setup uses fly init examplegostatic -p 8043, a two-line Dockerfile based on pierrezemb/gostatic, and an index.html copied to /srv/http/index.html; Fly routes ports 80 and 443 to GoStatic’s port 8043 and provides HTTPS. After deployment reaches one healthy instance, the post reduces the default micro-2x VM from 512MB RAM to micro-1x, which provides 128MB. This matches the small workload and is presented as a way to reduce running costs.
