Setup traefik proxy with Podman
This document is a step-by-step documentation for running Traefik proxy with Podman.
# Start Kafka locally on Docker | |
mkdir kafka | |
cd kafka | |
curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-kafka/master/docker-compose.yml > docker-compose.yml | |
docker-compose up -d | |
# Connect to docker | |
docker ps |
# More information: | |
# https://www.confluent.io/blog/kafka-listeners-explained/ | |
# https://docs.confluent.io/platform/current/app-development/kafkacat-usage.html | |
# Configuration #1 | |
# Two Kafka listeners, one docker-internal (docker container - docker container) and one docker-external (host - docker container) | |
# from computer to kafka: localhost:9093 | |
# from Docker internals: kafka:9092 (resolved by Docker DNS) |
var elements = document.getElementsByClassName("e1b5og4v0"); | |
var names = new Set(); | |
for(i = 0; i < elements.length; i++) { | |
names.add(elements[i].getElementsByTagName("a")[0].getAttribute("href")); | |
} | |
console.log(new Array(...names).join('\n')); |
#!/bin/bash | |
for dir in */ ; do | |
cd $dir | |
pwd | |
echo "**** fetching all ****" | |
git fetch --all | |
echo "**** update master ****" | |
branch=$(git rev-parse --abbrev-ref HEAD) | |
if [ "$branch" = "master" ]; then |
#!/bin/bash | |
# Update git repositorties inside a folder | |
# how to execute: | |
# chmod +x git-update.sh | |
# ./git-update.sh ROOT_FOLDER_PATH | |
if [ "$#" == "1" ]; then | |
cd $1 | |
fi |
This document is a step-by-step documentation for running Traefik proxy with Podman.
# Podman autostart | |
sudo loginctl enable-linger $USER | |
podman generate systemd --new --name CONTAINER_NAME -f | |
mv -v FILENAME.service ~/.config/systemd/user/ | |
systemctl --user daemon-reload |
brew install miniconda
conda init zsh
# restart terminal
conda create -n mlc-chat-venv -c mlc-ai -c conda-forge mlc-chat-cli-nightly
conda activate mlc-chat-venv
mkdir -p dist/prebuilt
git clone https://github.com/mlc-ai/binary-mlc-llm-libs.git dist/prebuilt/lib