Skip to content

Deployment Process

Jessica Chioma edited this page Jul 19, 2024 · 6 revisions

Deployment Process

DNS Configuration

  1. Configure DNS Records:
    • Set up DNS records for dev.domain-name.com and domain.com to point to your server.

Accessing Deployed Projects

Ensuring Uptime

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.