Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 2.17 KB

README.md

File metadata and controls

43 lines (33 loc) · 2.17 KB

ci GitHub release Docker Image Size Docker stars Docker pulls nginx 1.19.10 Renovate

Nginx Reverse Proxy

This repository shows how to run multiple instances of the app behind Nginx reverse proxy and served via HTTPS using Let's Encrypt certificate.

Features ⚙️

  • Updates Nginx config and reloads when containers are started or stopped
  • Automatically renews Let's Encrypt certificates
  • GitHub Action workflow:
    • determines the next release version
    • builds and pushes the image to Docker Hub
    • starts Docker containers on a remote host

GitHub Secrets 🔒

GitHub secrets that are required to run the workflow:

DOCKERHUB_TOKEN
DOCKERHUB_USERNAME
DOMAIN
EMAIL
REMOTE_IP
REMOTE_SSH_PRIVATE_KEY
REMOTE_USERNAME

Credits ❤️