Report this

What is the reason for this report?

Is possible deploy an angular project and a spring boot project separated?

Posted on March 7, 2016

I have a yeoman angular project work better and a spring boot rest project in my server side, two projects separated. I need two droplets to deploy both? i can deploy both projects in the same droplet?

I’m confuse.

I’m sorry for my english.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This is definitely possible. The core of the issue is determining how your application processes will be managed, and what web server configuration you will use. This is something that with proper planning, can provide a solid way to continually add applications ( resources permitting ) or more sites to your server.

Both Nginx and Apache httpd allow for separate sites and support using proxy configurations ( see this for Apache and this for Nginx ) and modules to allow requests to be passed to your applications that support common interfaces. You can leverage that to use application managers ( e.g. gunicorn, unicorn, php-fpm, passenger etc ) to run applications.

With isolated application processes, it is simply a matter of configuring the domain, sub-domain or paths that will lead to the applications through proxy configurations or modules.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.