Question
Is it possible to install doctl on a droplet?
Hi, I’m quite new to back-end development, coming straight from front-end. I was wondering if it’s at all possible to install doctl on a droplet to automate the creation of more droplets/apps.
My idea was to offer a dashboard to clients where they can 1 click create apps. The system would then run doctl app create commands with a dynamically generated yaml file to deploy a site to a droplet/app. Of course I’d have the logic to assign more than 1 app per droplet as they are fairly lightweight mostly-static gatsby apps.
Would this be the ideal way of doing things or am I missing something crucial? If so, should I be deploying this idea through the new App platform, spaces, or droplets?
Thanks!
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.
×