Question

How to deploy a distributed Asp.NET Core application

I have a distributed application developed in Asp.NET Core with Sql Server. Total of 5 apis. I run them locally with my docker-compose without any problems. I would like to know what are the steps for me to deploy to my virtual machine that I hired, Docker 19.03.12 on Ubuntu 20.04. I am following several tutorials that are leaving me lost.

My regards


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @guilhermepomp,

Are you getting any specific errors when the containers are starting, are the container crashing when you try to start them? Also is there any information in the container logs?

You can check the logs with the following command:

docker-compose logs

Can you share the docker-compose file that you are using?

Regards, Bobby