Build stunning internal tools, blazing fast.
DronaHQ offers a low-code platform to build internal tools. Drag-and-drop UI components and connect them to your databases and APIs to build your own tools, rapidly. Connects with Postgres, REST APIs, Firebase, Google Sheets, and 3rd party systems like Hubspot, Shopify, Razorpay, Asana, Freshdesk, Zendesk and more. Built by developers, for developers. Trusted by startups and Fortune 500s. Start a Free Trial.
DronaHQ self-hosted solution ensures that all access to your data is managed within your own cloud environment. It also provides the flexibility to control how DronaHQ is setup within your infrastructure, the ability to configure logging, scaling, and access to enable custom SAML SSO using providers like Okta and Active Directory.
1.0.0
- Released on 14/4/2022`
Releases are added maintained on DockerHub and on DronaHQ Community
- Linux Virtual Machine
- Ubuntu
20.04
or higher
- Ubuntu
2
vCPUs8
GiB + of Memory60
GiB + of Storage- Networking Requirements for Initial Setup:
80
(http): for connecting to the server from the browser443
(https): for connecting to the server from the browser22
(SSH): To allow you to SSH into your instance and configure it8080
(DronaHQ): This is the default port DronaHQ runs on
-
Run the command
git clone https://github.com/dronahq/self-hosted.git
. -
Run the command
cd self-hosted
to enter the cloned repository's directory. -
Edit the
docker-compose.yml
file using VIM (or other text editor) to set the version of DronaHQ you want to install. To do this, replaceX.Y.Z
inimage:dronahq/self-hosted:X.Y.Z
with your desired version. See Select a DronaHQ version number to help you choose a version. -
Run
./install.sh
to install Docker and Docker Compose. -
In your
.env
(this file is only created after running./install.sh
) add the following:# License key granted to you by DronaHQ LICENSE_KEY=YOUR_LICENSE_KEYs
-
Run
sudo docker-compose up -d
to start the DronaHQ server. -
Run
sudo docker-compose ps
to make sure all the containers are up and running. -
Navigate to your server's IP address in a web browser. DronaHQ should now be running on port
8080
. -
Click Activate, since we're starting from a clean slate. The first user to create an account on an instance becomes the administrator.
Spin up a new EC2 instance. If using AWS, use the following steps:
-
On AWS EC2 dashboard, Click Launch Instance.
-
Click Select for an Ubuntu instance with version
20.04
or higher. -
Select an instance type of at least
t3.medium
and click Next. -
Ensure you select the same VPC that also includes the Databases & API’s that you will want to connect to and click Next.
-
Increase the storage size to
60
GB or higher and click Next. -
Optionally add some Tags (e.g.
app = dronahq
) and click Next. This makes it easier to find if you have a lot of instances. -
Set the network security groups for ports
80
,443
,22
and8080
, with sources set to0.0.0.0/0
and::/0
, and click Review and Launch. We need to open ports80
(http) and443
(https) so you can connect to the server from a browser, as well as port22
(ssh) so that you can ssh into the instance to configure it and run DronaHQ. By default on a vanilla EC2, DronaHQ will run on port8080
. -
On the Review Instance Launch screen, click Launch to start your instance.
-
If you're connecting to internal databases, whitelist the VPS's IP address in your database.
-
From your command line tool, SSH into your EC2 instance.
-
Run the command
git clone https://github.com/dronahq/self-hosted.git
. -
Run the command
cd self-hosted
to enter the cloned repository's directory. -
Edit the
docker-compose.yml
file using VIM (or other text editor) to set the version of DronaHQ you want to install. To do this, replaceX.Y.Z
inimage:dronahq/self-hosted:X.Y.Z
with your desired version. See Select a DronaHQ version number to help you choose a version. -
Run
./install.sh
to install Docker and Docker Compose. -
In your
.env
(this file is only created after running./install.sh
) add the following:# License key granted to you by DronaHQ LICENSE_KEY=YOUR_LICENSE_KEYs
-
Run
sudo docker-compose up -d
to start the DronaHQ server. -
Run
sudo docker-compose ps
to make sure all the containers are up and running. -
Navigate to your server's IP address in a web browser. DronaHQ should now be running on port
8080
. -
Click Activate, since we're starting from a clean slate. The first user to create an account on an instance becomes the administrator.
-
On GCP Dashboard, Click the Compute Engine Resource and select VM Instances
-
select ‘Create Instance’ from the top menu
-
Create a new VM to these Specs
- Ubuntu Operating System Version 20.04 LTS or higher
- Storage Size 60 GB or higher
- Ram 4 GB or Higher (e2-medium)
- Optionally add Labels (eg app = dronahq)
-
Create Instance
-
Navigate via search to the VPC Network Firewall settings and be sure to add the following ports set to
0.0.0.0/0
and::/0
80
(HTTP)443
(HTTPS)22
(SSH)8080
(DronaHQ access in browser)
-
If you're connecting to an internal database, be sure to whitelist the VPC’s ip address in your DB
-
SSH into your instance, or use the Google SSH Button to open a VM Terminal in a browser window.
-
Run Command
git clone https://github.com/dronahq/self-hosted.git
-
Run Command
cd self-hosted
-
Edit the Docker-Compose file using VIM (or other text editor) to specify your desired version number of DronaHQ. To do this, replace
X.Y.Z
inimage:dronahq/self-hosted:X.Y.Z
with your desired version. See Select a DronaHQ version number to help you choose a version. -
Run the command
git clone https://github.com/dronahq/self-hosted.git
. -
Run the command
cd self-hosted
to enter the cloned repository's directory. -
Edit the
docker-compose.yml
file using VIM (or other text editor) to set the version of DronaHQ you want to install. To do this, replaceX.Y.Z
inimage:dronahq/self-hosted:X.Y.Z
with your desired version. See Select a DronaHQ version number to help you choose a version. -
Run
./install.sh
to install Docker and Docker Compose. -
In your
.env
(this file is only created after running./install.sh
) add the following:# License key granted to you by DronaHQ LICENSE_KEY=YOUR_LICENSE_KEYs
-
Run
sudo docker-compose up -d
to start the DronaHQ server. -
Run
sudo docker-compose ps
to make sure all the containers are up and running. -
Navigate to your server's IP address in a web browser. DronaHQ should now be running on port
8080
. -
Click Activate, since we're starting from a clean slate. The first user to create an account on an instance becomes the administrator.
-
In the main Azure Portal, select Virtual Machine under Azure Services
-
Click the Create button and select Virtual Machine
-
Select an image of Ubuntu 20.04 or higher
-
For instance size, select
Standard_D2s_v3 - 2 vcpus, 8 GiB memory
-
Under the Networking tab, Ensure you select the same Virtual Network that also includes the Databases / API’s you will want to connect to and click Next.
-
Under the Networking tab, configure your network security group to contain the following ports. You may need to create a new Security group that contains these 4 ports (
80
,443
,22
and8080
):80
(http) and443
(https) for connecting to the server from a browser22
(ssh) to allow you to ssh into the instance and configure it8080
is the port that DronaHQ runs on by default
-
From your command line tool, SSH into your Azure instance.
-
Run the command
git clone https://github.com/dronahq/self-hosted.git
. -
Run the command
cd self-hosted
to enter the cloned repository's directory. -
Edit the
docker-compose.yml
file using VIM (or other text editor) to set the version of DronaHQ you want to install. To do this, replaceX.Y.Z
inimage:dronahq/self-hosted:X.Y.Z
with your desired version. See Select a DronaHQ version number to help you choose a version. -
Run
./install.sh
to install Docker and Docker Compose. -
In your
.env
(this file is only created after running./install.sh
) add the following:# License key granted to you by DronaHQ LICENSE_KEY=YOUR_LICENSE_KEYs
-
Run
sudo docker-compose up -d
to start the DronaHQ server. -
Run
sudo docker-compose ps
to make sure all the containers are up and running. -
Navigate to your server's IP address in a web browser. DronaHQ should now be running on port
8080
. -
Click Activate, since we're starting from a clean slate. The first user to create an account on an instance becomes the administrator.
The latest DronaHQ releases can be pulled from Docker Hub. When you run an on-premise instance of DronaHQ, you’ll need to pull an updated image in order to get new features and fixes.
See more information on our different release channels and recommended update strategies in our documentation.
Below is a cheatsheet for useful Docker commands. Note that you may need to prefix them with sudo
.
Command | Description |
---|---|
docker-compose up -d |
Builds, (re)creates, starts, and attaches to containers for a service. -d allows containers to run in background (detached). |
docker-compose down |
Stops and remove containers and networks |
docker-compose stop |
Stops containers, but does not remove them and their networks |
docker ps -a |
Display all Docker containers |
docker-compose ps -a |
Display all containers related to images declared in the docker-compose file. |
docker logs -f <container_name> |
Stream container logs to stdout |
docker exec -it <container_name> psql -U <postgres_user> -W <postgres_password> <postgres_db> |
Runs psql inside a container |
docker kill $(docker ps -q) |
Kills all running containers |
docker rm $(docker ps -a -q) |
Removes all containers and networks |
docker rmi -f $(docker images -q) |
Removes (and un-tags) all images from the host |
docker volume rm $(docker volume ls -q) |
Removes all volumes and completely wipes any persisted data |