lncm / pi-factory

Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux

Home Page:https://lncm.io/project/box/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create/use nginx container

meeDamian opened this issue · comments

What for and why exactly is nginx used right now?

Originally posted by @meeDamian in #129 (comment)

nginx is used for aggregating invoicer and soon other web services..

Great. I do think we should have sth serving static content, but we should architect a way that can work with multiple apps each wanting sth served.

I gotta look into official nginx images.

I've changed the nginx container we added to a lighter one (~10MB) and will be shipping it with the base image for serving Wifi Manager and Wizard html & proxying api calls