Skip to content

GoldenStone02/ansible-home-selfhosted

Repository files navigation

Self-Hosted server using Ansible

This is my setup I use to install some of my self-hosted services (on my Raspberry Pi T-T).

Getting Started

To get started with this project, clone the repository.

git clone [this repo url]

Prerequisities

  • Raspberry Pi
  • Ubuntu 20.04 (installed on your server)
  • SSH Pubkeys (from your server)

Requirements

Install the necessary Ansible collections using the following command:

ansible-galaxy install -r requirements.yml

Deployment

Run the ansible playbook using the following command:

ansible-playbook -i inventory.ini run.yml

Services included:

Media

Services

System

Port Mappings

If there are multiple ports mapped, the bolded port is the main service port.

External ports are exposed to localhost, not the outside world.

Name Type External Port Internal Port
Libreddit Media 2000 8080
Jellyfin Media 2300 8096
Openbooks Media 2500 80
Authelia Service - -
NextCloud Service 2700 80
Vaultwarden Service 4000 80
PiHole + Unbound System 8080 80
Portainer System 5000, 8000, 9443 9000, 8000, 9443
Homer System 7000 8080
Nginx Proxy Manager System - -

Security

This configuration is intended to be used within your local network.

WIP features

Acknowledgments

Thanks to:

About

IaC for my Self-Hosted Services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published