The author set up a CI/CD pipeline during development using Jenkins on a Raspberry Pi. They created a custom daemon service to run Jenkins automatically on boot. The author installed Docker and Docker Compose on the Pi and used them to spin up containers. They initially used a local Git repository but later shifted to GitHub. The author created a custom database image using MySQL generic binaries instead of pulling from Docker Hub. They wrote an entrypoint script for the custom DB image to initialize and configure the database. The author used Jenkins to build and deploy their application during development. When moving to a live setup, the author discovered GitHub Actions and implemented it in their Git repository. They used GitHub Actions to compile and push their image to Docker Hub, and then deployed it to an EC2 instance using SSH. The author plans to improve their deployment process by automating pod deletion using kubectl or a bash script.
dev.to
dev.to
Create attached notes ...
