DigitalOcean
This tutorial shows how to configure a DigitalOcean Droplet and use it to host Buddy self-hosted.
Warning
All commands listed in the article must be run as root.
Setting up a Droplet
In DigitalOcean, you can quickly get a Droplet with Docker preinstalled using 1-Click Applications.
Create a Droplet with these settings:
- Ubuntu 16.04 or newer
- 30 GB of disk space
- 4 GB RAM
Hint
If you’re planning to run heavy workloads on your instance, we recommend assigning at least 8GB of RAM.
Read more about system requirements of Buddy self-hosted.
Installing Docker Compose
Buddy requires Docker compose to run. Connect to your Droplet and follow the installation instructions.
Installing Buddy
Connect to the Droplet and start installation
Connect to the Droplet using SSH and run this command to download the Docker image and install Buddy:
bashcurl -sSL https://get.buddy.works | sh && buddy install
$
Hint
By default, Buddy uses ports
80
, 443
, and 22
for communication. If these ports are not available, the installer asks to provide alternative ports.
Tip
By default, Buddy installs in the
HOME
directory. You can change the storage path for databases, repositories, and settings using the CLI.
Setting up your workspace
- Use the URL provided in the summary to access Buddy self-hosted.
Image loading...
Hint
By default, Buddy self-hosted uses a self-signed SSL certificate. Because of that, you can get a security warning from your browser when you access the instance for the first time. There’s nothing to worry about! You can safely open the address.
- Provide the details of your first workspace.
Success
Congratulations!
You have successfully installed and configured Buddy on your own server. Check out the Quickstart section for tips on getting started.
Last modified on Oct 15, 2024