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

The team planned for 99% uptime by utilizing a docker-compose file to spin up two containers for both the development and production environment. During each build, a change pushed to the main branch does not take down the server but keeps the previous running container active until the build completes. The old container is then detached, and the newly created one is used.

NGINX is used for both load balancing and reverse proxying, ensuring that no single container becomes overwhelmed and that requests are efficiently routed to the appropriate containers. This setup helps maintain high availability and performance for the deployed projects.