Open Patowhiz opened 4 months ago
@Patowhiz - can you confirm whether docker-compose.prod.yaml
is working and (if production is working) how is your local development environment differs from where you are deploying for production?
(or is production also not working yet?)
@isedwards, thank you for your input.
For the development deployment, my plan includes:
As for the production deployment, I'm still in the planning phase, and it will significantly differ from the development setup. My current approach involves:
I'm not anticipating the mentioned development challenges in the production deployment. I'm also contemplating adjusting the production deployment strategy to incorporate a containerized Nginx application responsible for routing to the Angular and NestJS applications.
Overview
I've encountered several challenges while attempting to containerize our full application stack for development deployment. These issues have significantly impacted the efficiency of our development process, particularly regarding our Angular and NestJS applications running within Docker containers. Below, I detail the specific problems faced:
Challenges Encountered
Angular Development Server Accessibility:
Angular Hot Reloading:
NestJS Hot Reloading:
Temporary Resolution
Given these substantial hurdles, I've decided to limit Docker containerization solely to the PostgreSQL instance within our development deployment setup. This approach circumvents the issues encountered with the Angular and NestJS applications but is not an ideal solution.
Request for Assistance
I am seeking advice or solutions from the community that might help address these challenges, enabling full-stack containerization without compromising on development efficiency. Any insights, alternative approaches, or updates that could alleviate these issues would be greatly appreciated.
You can have a look at the attempted docker development set up in the docker-backup-2 branch