Avatar of Olivier D'Ancona
Needs advice
on
AngularAngularDocker ComposeDocker Compose
and
NGINXNGINX

Hi there, I have a full stack application ready for production:

  • Database with Mongo
  • API with Express + Node
  • Frontend with Angular

And I want to deploy it inside docker containers. But faced to reality, I faced several issues with nginx routing inside docker container (my application is served but the routing isn't working at all) Does anyone recommand to embed angular routed application inside a docker container with nginx? What different options are available? I post all the details on my stackoverflow post . It seems I'm not the only one to struggle with this.

Thank you all for reading :)

READ MORE
docker - How to route Angular app inside Nginx container? - Stack Overflow (stackoverflow.com)
6 upvotes·6.2K views
Replies (1)
Avatar of csaltos7898
Developer at Talenteca·
Recommends
on
Caddy
Caddy
at

Caddy is really cool and a lot easier than nginx for using it with Docker, give it a try !!

5 upvotes·1 comment·985 views
Olivier D'Ancona
Olivier D'Ancona
·
May 23rd 2020 at 11:37AM

Hello, I have my angular app ready and I don't know where to get started ? I'm tired too struggle with this issue I want to move on. Can you provide a good tutorial how to host an angular app with docker and caddy?

·
Reply
Recommends
on
Node.jsNode.js

I recommand you use the mean stack. This is really effective :) MongoDB -> database Express -> backend api Angular -> frontend NodeJs -> backend server

You can use react instead of angular and firebase instead of mongo. This is a good place to start :)

READ MORE
3 upvotes·1 comment·1.8K views
Andrea Taglia
Andrea Taglia
·
May 26th 2020 at 8:58AM

I believe learning Angular today is the worst mistake one can do. Frontend it's either React or VueJS

·
Reply