Skip to content

Instantly share code, notes, and snippets.

View usrbinkat's full-sized avatar
👩‍💻

Kat Morgan usrbinkat

👩‍💻
View GitHub Profile
@usrbinkat
usrbinkat / Minecraft-in-Docker.md
Last active November 8, 2024 02:14
Minecraft on Fedora in Docker Compose

Minecraft Server Setup with Docker and Docker Compose

Welcome! This project provides a straightforward way to set up a customized Minecraft server using Docker and Docker Compose. By following this guide, you can create a fun and secure environment for you and your friends to enjoy Minecraft together.

Table of Contents

@usrbinkat
usrbinkat / Dockerfile
Last active October 27, 2024 18:59
Pandoc Markdown to PDF
###############################################################################
# Use:
# - docker build --progress plain --tag docker.io/containercraft/pandoc -f Dockerfile .
# - docker run --rm -it --name pandoc --hostname pandoc --volume .:/convert docker.io/containercraft/pandoc my_document.md
###############################################################################
FROM docker.io/library/ubuntu:24.04
LABEL tag="pandoc"
ENV DEVCONTAINER="pandoc"
SHELL ["/bin/bash", "-c", "-e"]
@usrbinkat
usrbinkat / README.md
Created October 1, 2024 06:49
Ollama + Open-Webui + Nvidia/CUDA + Docker + docker-compose

image

Here's a sample README.md file written by Llama3.2 using this docker-compose.yaml file that explains the purpose and usage of the Docker Compose configuration:

ollama-portal

A multi-container Docker application for serving OLLAMA API.

Overview

@usrbinkat
usrbinkat / Dockerfile
Last active October 2, 2024 01:09
Docker + Neovim + LazyVim
###############################################################################
# Use:
# - docker build --progress plain --tag docker.io/testing/devcontainer:nvim -f Dockerfile .
# - docker run --rm -d --name devcontainer --hostname devcontainer docker.io/testing/devcontainer:nvim
###############################################################################
# Base Devcontainer Image
FROM mcr.microsoft.com/devcontainers/base:ubuntu
LABEL tag="slim"
ENV DEVCONTAINER="slim"
SHELL ["/bin/bash", "-c", "-e"]
@usrbinkat
usrbinkat / Dockerfile
Created October 1, 2024 02:34
Arch Linux Nvidia Cuda Docker
##################################################################################
#
# Arch Linux Nvidia Cuda Container
#
# Build:
#
# $ docker build --progress=plain -t testing/cuda .
#
# Run:
#
@usrbinkat
usrbinkat / talos.vmpool.yaml
Created August 31, 2024 23:13
Kubevirt + Talos Virtual Machine Pool
apiVersion: pool.kubevirt.io/v1alpha1
kind: VirtualMachinePool
metadata:
name: talos
spec:
replicas: 0
selector:
matchLabels:
kubevirt.io/vmpool: talos
virtualMachineTemplate:
@usrbinkat
usrbinkat / README.md
Last active August 20, 2024 20:07
Runme README.md script debugging.

About

Goals:

Run project quickstart from ./README.md with runme cli github.com/ContainerCraft/Kargo

Actual behavior:

It appears the runme commands are executed in a shell that does not inherit normal environment variables and configuration.

@usrbinkat
usrbinkat / Makefile
Last active August 22, 2024 19:53
Taskfile vs Makefile
# --- Global Variables ---
LOWERCASE_GITHUB_REPOSITORY := $(shell echo ${GITHUB_REPOSITORY} | tr '[:upper:]' '[:lower:]')
REPO_NAME := $(shell echo ${LOWERCASE_GITHUB_REPOSITORY} | awk -F '/' '{print $$2}')
REPO_ORG := $(shell echo ${LOWERCASE_GITHUB_REPOSITORY} | awk -F '/' '{print $$1}')
PROJECT ?= $(or $(REPO_NAME),kargo)
DEPLOYMENT ?= $(or $(ENVIRONMENT),ci)
# Check if PULUMI_BACKEND_URL starts with 'file://'
@usrbinkat
usrbinkat / README.md
Last active August 7, 2024 15:12
Dagger.io

Install Dagger.io CLI

How To

curl -L https://gist.githubusercontent.com/usrbinkat/09ecd0a4f66038e4115ceb59c5b070f4/raw/0757be8ddf60446c396a3c49bb29465138bd45bb/install-dagger.sh | bash

Example