Question

How to deploy a docker container.. Into droplet, or as web app? Does it matter?

Hi everyone. Noob problem here :)

I’d like to deploy the web app via Docker. So I have created the droplet, with ubuntu, and via bash I’ve installed docker, git, and there’s apache by default. I have documentation for nginx, but it does not matter I guess.

I also have pointed domain to digital ocean, and then I’ve added dropplet public IP. And there I’m stuck. I’ve realized that I have to actually add database, and .env passwords etc. I was thinking when it’s deployed via Docker container, it will do everything for me, and I will not have to install docker etc.

I assume I’m mixing few things together… What’s the best way to deploy it? Essentially I was thinking about digital ocean like about Netlify, that’s kind of ready after the deployment from github repo.

I am willing to learn everything, but I’m lost :) Whats’ also the good resource to learn the cloud computing, please?

I’m depoloying Activepieces https://www.activepieces.com/docs/install/options/overview

Thank you all! :) https://twitter.com/DeLucasso


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.

Bobby Iliev
Site Moderator
Site Moderator badge
April 14, 2024

Hi there,

Indeed, a Droplet is essentially an unmanaged server where you have root access and need to install and configure everything yourself.

What you could do instead is to use the App Platform where you can just specify your GitHub repository and it will do everything for you from cloning your project, building it, and deploying it, also in case of any changes to the repository it will automatically do that again for you:

https://www.digitalocean.com/products/app-platform

If you already have a Dockerfile in your repository you can use it for the build process:

https://docs.digitalocean.com/products/app-platform/reference/dockerfile/

Alternatively, depending on the type of your app, you can use a native buildpack instead:

https://docs.digitalocean.com/products/app-platform/reference/buildpacks/

Feel free to share more information about your app and I will be happy to advise you further!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

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.