RasmusKard / what.watch

Get a randomized movie or tv show suggestion based on your chosen parameters.
https://what.watch/
0 stars 0 forks source link

CD Prep

Dependencies Needed on Destination

(These are not included in the Docker image)

Setup Steps

  1. Install the dependencies listed above.
  2. Set up Nginx:
  3. Build the Docker images.
  4. Configure Nginx to reverse proxy the application.
  5. Configure adnanh/webhook to listen for GitHub webhooks:
    • Ensure that only verified GitHub IPs are allowed through Nginx, blocking all others with a 403 Forbidden.

CD Workflow

  1. GitHub Release: When a new release is made, the GitHub webhook posts to the server.
    * (1)
  2. Webhook Trigger: adnanh/webhook triggers the redeploy.sh script, which runs docker compose build.

Notes: