Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vs4vijay/homelab
Homelab / Cloudlab
https://github.com/vs4vijay/homelab
caddy cloud-lab docker duckdns homelab portainer self-hosted self-hosting selfhosted selfhosting wireguard
Last synced: 3 days ago
JSON representation
Homelab / Cloudlab
- Host: GitHub
- URL: https://github.com/vs4vijay/homelab
- Owner: vs4vijay
- License: mit
- Created: 2024-03-23T19:02:43.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T23:55:36.000Z (16 days ago)
- Last Synced: 2024-10-30T01:55:04.603Z (16 days ago)
- Topics: caddy, cloud-lab, docker, duckdns, homelab, portainer, self-hosted, self-hosting, selfhosted, selfhosting, wireguard
- Language: Python
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# homelab
## Install PyInfra
```bash
pip install pyinfra
pyinfra server_name deploy.py
pyinfra server_name exec -- echo "hello world"```
## Basic Setup
```bash
pyinfra helidon infra/basic_setup.py
```
## Install Docker
```bash
sudo curl -fsSL https://get.docker.com/ | CHANNEL=stable bash
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $(whoami)
sudo systemctl enable docker --now
exit # exit all terminals to reflect the changesOR
# Maintained by Docker
sudo apt install docker-ce docker-ce-cli containerd.io -yOR
# Maintained by Debian
sudo apt install docker.io docker-compose -y
chmod 666 path```
---
## Install Portainer
```bash
docker compose -f portainer.docker-compose.yml up -d
```
---
### Development Notes
```bash
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add
sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"sudo apt-get install kubelet kubeadm kubectl
sudo swapoff -a
sudo kubeadm init --control-plane-endpoint=$IPADDR --pod-network-cidr=$POD_CIDR --node-name $NODENAME --apiserver-cert-extra-sans=$IPADDR --ignore-preflight-errors Swap
kubeadm token create --print-join-command
docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
--privileged \
rancher/rancher:latestcurl -sfL https://get.k3s.io | sh -
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 644https://phoenixnap.com/kb/how-to-install-kubernetes-on-a-bare-metal-server
https://dockerlabs.collabnix.com/kubernetes/beginners/install/ubuntu/18.04/install-k8s.html
oci session authenticate
terraform init
terraform plan
terraform validate
terraform apply
https://github.com/wemake-services/caddy-gen
```