Nginx Reverse Proxy to run dockerized on a RaspberryPi in front of Alamos FE2 providing proper SSL certificates from Let's encrypt.
The solution is based on the following project: JonasAlfredsson/docker-nginx-certbot
This repository builds a docker container on DockerHub (private registry):
- Based on specific version of
docker-nginx-certbot - Added our specific nginx configurations split by subdomain:
- Reverse Proxy for FE2
Routes for FE2_KartengenerierungRoute to static Icons (grabbed by Google Static Maps API)Also, the static Icons itself are added to the containerRoute to generated Maps (to be used in static mail image links)
Routes for FE2_MonitoringRoute to health endpoint to be checked from external counterpartRoute to dashboard to make it available externally
Route for FE2_Calendar- Route for FE2_Documentation
- Route for PvOutputVisualization
- Route for Uptime Kuma Monitoring
- Added default environment variables
- Create directory to store persistent data:
mkdir nginx_secrets - Login to DockerHub:
docker login -u odin568 -p *******
- Download latest docker-compose.yml. Place alongside folder
nginx_secrets(not inside) - Start container with
docker-compose up -d - Potentially need to adjust paths inside