This repository contains the configuration files for my homelab. It includes Docker Compose files, scripts, and other stuff.
- Docker installed on your machine.
- Python 3.x with UV. You can install it here.
- Node.js 20.x with Volta. You can install it here.
Python scripts are used to automate various tasks in my homelab. For example, docker.py
is used to deploy and update Docker containers via Docker Compose files, and failover.py
is used to perform failover operations when my main WAN connection goes down.
-
Clone the repository:
git clone https://github.com/ccrsxx/homelab.git
-
Navigate to the project directory:
cd homelab
-
Install the dependencies:
uv sync
-
Run the Python script:
uv run ./scripts/docker.py
Or you can run it via bash script:
./scripts/bin/docker.sh