🌱

Digital Garden

Where my ideas grow. A permanent Work In Progress.


Optimize Rust build in Docker

This is a docker file I pushed that relies on docker caching to optimize builds:

Programming

How to find a frontmatter variable with your shell

So I have a file like:

---
title: Server infrastructure
description: IPFS Cluster provides data orchestration across a swarm of IPFS daemons by allocating, replicating, and tracking a global pin-set distributed among multiple peers. Learn how to install it here.
current-ipfs-cluster-version: v1.0.0-rc4
---

# Server infrastructure

If you want to install IPFS in a server environment and offer IPFS as a service, you should look at IPFS Cluster. IPFS Cluster provides data orchestration across a swarm of IPFS daemons by allocating, replicating, and tracking a global pin-set distributed among multiple peers. This makes it significantly easier to manage multiple IPFS nodes and ensure that data is available across an internal network.

## Create a local cluster

To see if IPFS Cluster is suitable for your project, follow this quick start guide and spin up a local IPFS Cluster instance. At the end of this guide, you will have a solid understanding of how IPFS Cluster is set up and how to interact with it. If you'd rather create a production-ready cluster, take a look at the [official IPFS Cluster documentation →](https://cluster.ipfs.io/)

I want to find the value for current-ipfs-cluster-version.

Programming

Build Environment Variables in Go

I want to customize the build process of a piece of go code. It’s dockerized. I know there are a few parameters I want to use, like -modfile that lets you change the go.mod and go.sum files used to build the app.

Programming

Github Actions tips