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

deploy the site #69

Closed RasmusKard closed 1 month ago

RasmusKard commented 1 month ago

Need to explore the best way of going about it.

Needs to match the following criteria:

RasmusKard commented 1 month ago

CI workflow

CI improvements

CD workflow

RasmusKard commented 1 month ago

https://semver.org/

RasmusKard commented 1 month ago

Zero downtime deploy workflow

  1. Webhook on github repo, trigger on release (https://smee.io/)
  2. Bash script to docker compose new container and use nginx reload to start routing users to new container (https://www.tines.com/blog/simple-zero-downtime-deploys-with-nginx-and-docker-compose/)
  3. Kill old container