-
Notifications
You must be signed in to change notification settings - Fork 265
Deployment Process
Jessica Chioma edited this page Jul 19, 2024
·
6 revisions
-
Configure DNS Records:
- Set up DNS records for
dev.domain-name.com
anddomain.com
to point to your server.
- Set up DNS records for
- Development Environment: Accessible at http://dev.domain-name.com
- Production Environment: Accessible at http://domain.com
We aim for 99% uptime by using a robust deployment strategy with Docker and NGINX. Our docker-compose
file is configured to spin up two containers during the build process. When changes are pushed to the main branch, the server remains operational as the previous container continues running until the new build is complete. Once the build is finished, the old container is detached, and the newly created one takes over. Additionally, we use NGINX for load balancing to ensure that no single container is overwhelmed, thereby maintaining high availability and performance.
Made with ❤️ by Ravencodes | AugustHottie | CodeReaper0 | bySegunMoses | Suesue | DrInTech22 courtesy of @HNG-Internship