This repository shows how to run multiple instances of the app behind Nginx reverse proxy and served via HTTPS using Let's Encrypt certificate.
- 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 that are required to run the workflow:
DOCKERHUB_TOKEN
DOCKERHUB_USERNAME
DOMAIN
EMAIL
REMOTE_IP
REMOTE_SSH_PRIVATE_KEY
REMOTE_USERNAME