HasithDeAlwis / Hasith-Portfolio-v2

Version two of my portfolio
0 stars 0 forks source link

[ADR] dockerize and deploy payload CMS #20

Closed HasithDeAlwis closed 2 months ago

HasithDeAlwis commented 2 months ago

🛠 Problem Statement

✅ Goals

Goal 1: Learn docker Goal 2: Deploy CMS on free tier of a cloud provider

🔎 Out of Scope

🎯 Solution Summary

📝 History/Context

A CMS is needed since aspects of my site will change rapidly (I'll learn new skills, have new text, etc.) Updating the site should be seamless and fast 🏎️ 💨

💡 Solution

🤔 Other options considered

HasithDeAlwis commented 2 months ago

Currently, the PR for this has been completed, but it's organized, the commits are messed up and it will lead to bugs down the line. I am going to revamp this PR and split it into four components.

  1. Create three separate directories: Website, Payload-CMS, and Storybook (monorepo structure w/out the monorepo lol)
  2. Create the express server w/payload
  3. Dockerize all apps for deployment, development, and production
  4. Update the CI/CD pipeline to update the production deployment on my AWS lightsail instance and update the DockerHub registry