Skip to content

Instantly share code, notes, and snippets.

View arigatory's full-sized avatar
🚴‍♂️
coding

arigatory

🚴‍♂️
coding
View GitHub Profile
@arigatory
arigatory / Docker.md
Created August 5, 2023 16:57
.NET Microservices CQRS & Event Sourcing

Network

Create attachable network

sudo docker network create --attachable -d bridge mydockernetwork

List all networks

sudo docker network ls

Network

Create attachable network

sudo docker network create --attachable -d bridge mydockernetwork

List all networks

sudo docker network ls
@arigatory
arigatory / Local-Kubernetes.md
Created November 25, 2022 02:50 — forked from dahlsailrunner/Local-Kubernetes.md
Helpful tips and snippets for Kubernetes within Docker Desktop

Using the K8s Dashboard Locally

Actual repo is here: https://github.com/kubernetes/dashboard

1. Install the Dashboard

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml

2. Create a Sample User Account that can Access the Dashboard via Token

kubectl apply -f https://gist.github.com/dahlsailrunner/bbd453f3bb6259b66c08a70d0908283f/raw/5727723217e2df4b65d8933adf04d009cfb0fe3f/local-dashboard-account.yml
@arigatory
arigatory / SSL-nginx-Docker.md
Created September 1, 2022 23:35 — forked from dahlsailrunner/SSL-nginx-Docker.md
SSL with Docker images using nginx as reverse proxy

Docker with SSL and an nginx reverse proxy

Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.

Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).

1. Create a conf file with information about the cert you'll be creating

It should look something like the content below; call it my-site.conf or something like that.

@arigatory
arigatory / WindowsTerminal.md
Created March 19, 2022 16:59 — forked from dahlsailrunner/WindowsTerminal.md
Customization and Setup notes for Windows Terminal