Skip to content

sudo-bendg/hearthCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hearthCore

The core services required for my hearth homelab api ecosystem. I have tried (and semi-failed) multiple times to reinvent the wheel and create an api gateway with dynamic routing in the past, under different iterations of the name "hearth gateway". I realise now, this was daft. This functionality is quite simply provided by using a reverse proxy like Nginx - as developers have been doing for over 20 years now.

As such, my plan is to ake my life easier and use Nginx. I will spin this up, along with some other useful services like a database and an Ollama model in a Docker Compose file.

Routing

Routing is taken care of through nginx. The config is found in nginx/default.conf. This includes a default return value to take care of 404s, and a sample of how routing can be handled in the form of a timeService.

Hosting

All services are hosted as docker images. These are spun up through compose.yaml. The aforementioned timeService is given as an example of how a local project can be hosted here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published