(These are not included in the Docker image)
- Nginx
- Docker + Docker Compose
- adnanh/webhook
- Install the dependencies listed above.
- Set up Nginx:
- Follow this guide for Ubuntu 22.04.
- Build the Docker images.
- Configure Nginx to reverse proxy the application.
- Configure
adnanh/webhookto listen for GitHub webhooks:- Ensure that only verified GitHub IPs are allowed through Nginx, blocking all others with a
403 Forbidden.
- Ensure that only verified GitHub IPs are allowed through Nginx, blocking all others with a
- GitHub Release: When a new release is made, the GitHub webhook posts to the server.
* (1) - Webhook Trigger:
adnanh/webhooktriggers theredeploy.shscript, which runsdocker compose build.
- (1): Only requests from verified GitHub IPs are allowed by Nginx on the webhook route. All other requests are blocked with a
403 Forbiddenresponse.