mirror of
https://github.com/hcengineering/huly-selfhost.git
synced 2026-09-27 03:54:59 +02:00
1.2 KiB
1.2 KiB
Huly Self-Hosted
Please use this README if you want to deploy Huly on your server with docker compose. I'm using a Basic Droplet on Digital Ocean with Ubuntu 23.10, but these instructions can be easily adapted for any Linux distribution.
Note
Huly is quite resource-heavy, so I recommend using a Droplet with 2 vCPUs and 4GB of RAM. Droplets with less RAM may stop responding or fail.
Installing nginx and docker
First, let's install nginx and docker using the commands below if you have not already installed them on your machine.
$ sudo apt update
$ sudo apt install nginx
$ sudo snap install docker
Clone the huly-selfhost repository and configure nginx
Next, let's clone the huly-selfhost repository and configure the server address. I will use 1.1.1.1 as the server address for this example.
$ git clone https://github.com/hcengineering/huly-selfhost.git
$ cd huly-selfhost
$ ./setup.sh 1.1.1.1
$ sudo ln -s $(pwd)/nginx.conf /etc/nginx/sites-enabled/
Now we're ready to run Huly
Finally, let's run Huly with docker compose.
$ docker compose up
Now, launch your web browser and enjoy Huly!