Fredkiss3 / gh-next

A minimal Github clone built on nextjs app router.
https://gh.fredkiss.dev/
MIT License
450 stars 21 forks source link

[♻️ refactor] Use docker+swarm for deployments #112

Closed Fredkiss3 closed 10 months ago

Fredkiss3 commented 11 months ago

What is the reason to do this refactor ?.

Using pm2 is not enough and can instead cause moments where the app is down because it reuses the same codebase.

Describe the work that needs to be done

Move our deployment pipeline to docker and docker swarm and see between nginx & docker swarn which should be our load balancer.

Additional context