A personal homelab infrastructure managed with Ansible and Docker Compose.
This repository contains the automation and configuration for managing a personal homelab environment. It uses Ansible for server provisioning and Docker Compose stacks for service deployment.
services/apps/
- Ansible playbooks and service stacksplaybooks/
- Ansible playbooks for server configurationstacks/
- Docker Compose service definitionsroles/
- Ansible roles
bootstrap/
- Initial server setup and provisioningansible-common/
- Shared Ansible utilities
asdf
, the rest below will be pulled automatically:- Python 3.x
- Node.js (for development tools)
- Ansible
-
Install dependencies:
make dev
-
Deploy services from a specific stack:
make service=llm hosts=black-cat.home service-deploy
-
Run initial provisioning:
make provisioning
This project uses pre-commit hooks for code quality. The setup includes:
- Ansible Lint
- YAML formatting and validation
- Prettier for code formatting
Run make dev
to set up the development environment with all necessary tools.